We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c21fbba commit b8346a0Copy full SHA for b8346a0
1 file changed
src/lib/cmd.ts
@@ -37,6 +37,9 @@ export const cmd = async (cmd: string, config?: Partial<CmdConfig>) => {
37
} catch (error) {
38
const output = out_data.map((b) => b.toString()).join("\n");
39
log.error(error?.message);
40
+ if (output) {
41
+ log.error(output);
42
+ }
43
throw new Error(`Command error: ${cmd}`);
44
}
45
};
0 commit comments