Skip to content

Commit

Permalink
Merge pull request #47 from danez/patch-1
Browse files Browse the repository at this point in the history
fix(cli): Remove broken error handling
  • Loading branch information
hutson committed Oct 30, 2017
2 parents 757fed0 + 4b981f7 commit fc5f97d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,7 @@ conventionalGithubReleaser({
process.exit(0);
}

var allRejected = true;

for (var i = data.length - 1; i >= 0 ; i--) {
if (data[i].state === 'fulfilled') {
allRejected = false;
break;
}
}

if (allRejected) {
console.error(data);
process.exit(1);
} else if (flags.verbose) {
if (flags.verbose) {
console.log(data);
}
});

0 comments on commit fc5f97d

Please sign in to comment.