Skip to content

Commit e9d9231

Browse files
committed
fix: keep stderr output from spawned process as stderr
Was stdout before.
1 parent 8ea8fe9 commit e9d9231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ errorNotifier(cli.input[0], cli.flags)
7777
console.log(result.stdout || result.stderr);
7878
})
7979
.catch(error => {
80-
console.log(error.stdout || error.stderr);
80+
console.error(error.stdout || error.stderr);
8181
process.exit(error.code);
8282
});

0 commit comments

Comments
 (0)