Skip to content

Delete commented out code in RepositoryActivity.js #13

@MacOS

Description

@MacOS

Hi all,

thank you for your work on this project!

There is commented out code in RepositoryActivity.js.

// Need to avoid triggering the chain so using async now
//
// return commitActivity.getCommitActivityFrom(owner, name, since)
// .then(commits => {
// data[UserActivityAttributes.COMMITS] = commits[fullName];
// return issueActivity.getIssueActivityFrom(owner, name, since);
// })
// .then(issues => {
// data[UserActivityAttributes.ISSUES] = issues[fullName];
// return issueActivity.getIssueCommentActivityFrom(owner, name, since);
// })
// .then(issueComments => {
// data[UserActivityAttributes.ISSUE_COMMENTS] = issueComments[fullName];
// return prActivity.getPullRequestCommentActivityFrom(owner, name, since);
// })
// .then(prComments => {
// data[UserActivityAttributes.PULL_REQUEST_COMMENTS]= prComments[fullName];
//
// const results = {}
// results[fullName] = data;
// return results;
// });

May I suggest to delete this? I am happy to open the PR myself.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions