Skip to content

Commit

Permalink
fix(itk-js-cli): Print error information when dockcross initializatio…
Browse files Browse the repository at this point in the history
…n fails
  • Loading branch information
thewtex committed Jun 10, 2021
1 parent b7dceb0 commit 37d8e48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/itk-js-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const build = (sourceDir) => {
stdio: [ 'ignore', output, null ]
})
if (dockerCall.status !== 0) {
console.error(dockerCall.stderr.toString())
process.exit(dockerCall.status)
}
fs.closeSync(output)
Expand Down

0 comments on commit 37d8e48

Please sign in to comment.