We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 522f30e commit 05026eaCopy full SHA for 05026ea
packages/tools/src/spawn.ts
@@ -18,9 +18,11 @@ export const spawn = (
18
};
19
logger.debug(`Running: ${file}`, ...(args ?? []));
20
const childProcess = nanoSpawn(file, args, { ...defaultOptions, ...options });
21
- childProcess.finally(() =>
22
- logger.debug(`Finished: ${file}`, ...(args ?? []))
23
- );
+ childProcess
+ .catch(() => {
+ // noop
24
+ })
25
+ .finally(() => logger.debug(`Finished: ${file}`, ...(args ?? [])));
26
27
setupChildProcessCleanup(childProcess);
28
return childProcess;
0 commit comments