Skip to content

Commit fed12c2

Browse files
committed
Replace process.exit() with process.exitCode
1 parent 3323647 commit fed12c2

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)