Skip to content

Commit 8792800

Browse files
committed
fix: regenerate lock file and fix TS compile error
1 parent f15a2de commit 8792800

File tree

2 files changed

+479
-632
lines changed

2 files changed

+479
-632
lines changed

src/utils/output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const fileResponseSortFn = (i: FileResponse, j: FileResponse): number =>
4040

4141
export const exitCodeAsNumber = (): number | undefined => {
4242
try {
43-
return typeof process.exitCode === 'string' ? parseInt(process.exitCode, 10) : process.exitCode;
43+
return typeof process.exitCode === 'string' ? parseInt(process.exitCode, 10) : process.exitCode ?? undefined;
4444
} catch {
4545
// it *could* be a string that fails to parse to int?
4646
return undefined;

0 commit comments

Comments
 (0)