Skip to content

Commit

Permalink
⚡ Silence the npm output when not on verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
gluons committed May 10, 2017
1 parent 41fa448 commit 08f0342
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/spawner.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Object.freeze(MODE);
function performSpawn(args, verbose) {
if (verbose) {
args.push('--verbose');
} else {
args.push('--silent');
}

return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 08f0342

Please sign in to comment.