Skip to content

Commit 2032219

Browse files
committed
update
1 parent 79b36dd commit 2032219

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/testtools/src/schema.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,14 @@ export function run(cmd: string, env?: Record<string, string>, cwd?: string) {
5252
});
5353
} catch (err) {
5454
console.error('Command failed:', cmd, err);
55-
execSync(cmd, {
56-
stdio: 'inherit',
57-
encoding: 'utf-8',
58-
env: { ...process.env, DO_NOT_TRACK: '1', ...env },
59-
cwd,
60-
});
55+
try {
56+
execSync(cmd, {
57+
stdio: 'inherit',
58+
encoding: 'utf-8',
59+
env: { ...process.env, DO_NOT_TRACK: '1', ...env },
60+
cwd,
61+
});
62+
} catch {}
6163
throw err;
6264
}
6365
}

0 commit comments

Comments
 (0)