Process does not signal a failure when an error occurs
RA80533 opened this issue · 2 comments
RA80533 commented
source-map-unpack/src/index.ts
Lines 53 to 58 in 533b54c
Suggestion
- Cause the process to return a signal code indicative of an error via one of the following:
- Set
process.exitCode
to1
(recommended; the documentation on process.exit() explains why) - Evaluate
process.exit(1)
- Set
- (Optional) Remove one of the two instances of the error being logged