build: improve error output
This commit is contained in:
parent
c0097c2c0a
commit
bb19c2d207
@ -27,7 +27,7 @@ export function runCLI(command?: string, opts = {
|
||||
if (opts.silenceError) {
|
||||
return e.stdout.toString();
|
||||
} else {
|
||||
console.log(e);
|
||||
console.log(e.stdout.toString(), e.stderr.toString());
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user