Skip to content

Commit

Permalink
fix(review): pass correct issue status name
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Feb 13, 2017
1 parent 9973c4d commit b899eb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fotingo-review.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ try {
pullRequest = _ref2.pullRequest;
return _ramda2['default'].compose(function (promises) {
return Promise.all(promises);
}, _ramda2['default'].map(_ramda2['default'].composeP(_ramda2['default'].partial(issueTracker.setIssueStatus, [{ status: issueTracker.status.CODE_REVIEW, comment: 'PR: ' + pullRequest.html_url }]), issueTracker.getIssue, _ramda2['default'].compose(_util2.wrapInPromise, _ramda2['default'].prop('key')))), stepCurried(7 - stepOffset, 'Setting issues to code review on ' + issueTracker.name, 'bookmark'))(issues);
}, _ramda2['default'].map(_ramda2['default'].composeP(_ramda2['default'].partial(issueTracker.setIssueStatus, [{ status: issueTracker.status.IN_PROGRESS, comment: 'PR: ' + pullRequest.html_url }]), issueTracker.getIssue, _ramda2['default'].compose(_util2.wrapInPromise, _ramda2['default'].prop('key')))), stepCurried(7 - stepOffset, 'Setting issues to code review on ' + issueTracker.name, 'bookmark'))(issues);
}, _ramda2['default'].identity));
}).then(_reporter2['default'].footer)['catch'](_error.handleError);
})();
Expand Down
2 changes: 1 addition & 1 deletion src/fotingo-review.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ try {
R.map(R.composeP(
R.partial(
issueTracker.setIssueStatus,
[{ status: issueTracker.status.CODE_REVIEW, comment: `PR: ${pullRequest.html_url}` }]
[{ status: issueTracker.status.IN_PROGRESS, comment: `PR: ${pullRequest.html_url}` }]
),
issueTracker.getIssue,
R.compose(wrapInPromise, R.prop('key'))
Expand Down

0 comments on commit b899eb3

Please sign in to comment.