Skip to content

Commit cbb6c10

Browse files
committed
Log failed command
1 parent 7c5706e commit cbb6c10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/shellUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const execute = async (cmd: string, cwd?: string) => {
1010
return new Promise((resolve, reject) => {
1111
exec(cmd, options, (err, stdout, stderr) => {
1212
if (err) {
13+
console.log(`Command '${cmd}' execution failed`)
1314
reject(err);
1415
} else {
1516
console.log(stdout);

0 commit comments

Comments
 (0)