Skip to content

Commit

Permalink
fix: minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Feb 25, 2020
1 parent 239cd55 commit 0faf6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github-handyman.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const findGreenkeeperCommentAboutLatestVersion = (comments) => {

const isCombinedStatusAndAllChecksSuccessful = (pull) => {
const isCombinedStatusSuccess = pull.combinedStatus.state === 'success'
const areAllChecksSuccessful = _.find(pull.checks.check_runs, ({ conclusion }) => conclusion !== 'success')
const areAllChecksSuccessful = !_.find(pull.checks.check_runs, ({ conclusion }) => conclusion !== 'success')

return isCombinedStatusSuccess && areAllChecksSuccessful
}
Expand Down

0 comments on commit 0faf6ec

Please sign in to comment.