Permalink
Browse files

chore(gh-release): no console log on success (#4657)

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 committed Oct 10, 2017
1 parent 6957779 commit e8511a5799c5c828c3c6a406b3c30b9d800a5cfe
Showing with 3 additions and 3 deletions.
  1. +3 −3 build/gh-release.js
View
@@ -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.