Skip to content

Commit

Permalink
chore(gh-release): no console log on success (#4657)
Browse files Browse the repository at this point in the history
We've been printing the resulting value from a successful call to the ghrelease, this was useful for debugging but isn't necessary anymore.
Add the result to the error conditional with some headings.
  • Loading branch information
gkatsev authored Oct 10, 2017
1 parent 6957779 commit e8511a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/gh-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ if (args.prerelease || npmargs.some(function(arg) { return /next/.test(arg); }))

ghrelease(options, function(err, result) {
if (err) {
console.log('Unable to publish release to github');
console.log(err);
console.error('Unable to publish release to github');
console.error('err:', err);
console.error('result:', result);
} else {
console.log('Publish release to github!');
console.log(result);
}
});

0 comments on commit e8511a5

Please sign in to comment.