Skip to content

Commit 87a7dee

Browse files
authored
chore(scripts): remove double error log (#1366)
1 parent 718b3f2 commit 87a7dee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/common.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ export async function run(
102102
if (errorMessage) {
103103
throw new Error(`[ERROR] ${errorMessage}`);
104104
} else {
105-
throw err;
105+
// it's already log thanks to the `all` option
106+
throw new Error(`command failed: ${command}`);
106107
}
107108
}
108109
}

0 commit comments

Comments
 (0)