Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix(output): stop printing out Command Failed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jun 20, 2017
1 parent 448b082 commit 873cffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions child.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function spawn (cmd, args, opts) {
const err = new Error(
require('./y.js')`Command failed: ${cmd} ${args.join(' ')}`
)
err.isOperational = true
err.exitCode = code
reject(err)
} else {
Expand Down

0 comments on commit 873cffe

Please sign in to comment.