Skip to content

Commit adb3661

Browse files
committed
Replace process.exit() with process.exitCode
1 parent 20b4450 commit adb3661

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/taze.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ void (async () => {
5252
logger.error(
5353
' Configure your dependencies to maintain provenance or exclude problematic packages.',
5454
)
55-
// eslint-disable-next-line n/no-process-exit
56-
process.exit(1)
55+
process.exitCode = 1
5756
}
5857
})
5958

0 commit comments

Comments
 (0)