Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Oct 22, 2024
1 parent 801ce9e commit 5f6977b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ function spawnProcess(command, args, options) {
});
child.on('close', exitCode => {
if (exitCode !== 0) {
console.log(stdout)
console.log(stderr)
reject(new SpawnError(`${command} ${_.join(args, ' ')} failed with code ${exitCode}`, stdout, stderr));
} else {
resolve({ stdout, stderr });
Expand Down

0 comments on commit 5f6977b

Please sign in to comment.