From e8511a5799c5c828c3c6a406b3c30b9d800a5cfe Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Tue, 10 Oct 2017 11:35:50 -0700 Subject: [PATCH] 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. --- build/gh-release.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/gh-release.js b/build/gh-release.js index 0b07b9d0..f2285a20 100644 --- a/build/gh-release.js +++ b/build/gh-release.js @@ -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); } });