We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6866dcc commit 81ace05Copy full SHA for 81ace05
ts-perf/packages/profiler/src/executable.ts
@@ -14,7 +14,7 @@ export class Executable {
14
15
let exitCode = 0;
16
process.exit = (code = 0) => {
17
- exitCode = code;
+ exitCode = +(code ?? 1);
18
throw processExitSentinel;
19
};
20
0 commit comments