-
-
Notifications
You must be signed in to change notification settings - Fork 455
Closed
Description
Description
Minor tweaks to "index.js":
https://github.com/okonet/lint-staged/blob/master/src/index.js#L16
Environment variables are strings. Done canonically:
process.env.FORCE_COLOR = '1'https://github.com/okonet/lint-staged/blob/master/src/index.js#L56
Remove this line. It's already the default value.
https://github.com/okonet/lint-staged/blob/master/src/index.js#L61
https://github.com/okonet/lint-staged/blob/master/src/index.js#L81
Would set process.exitCode as the first thing done in each catch block.
Metadata
Metadata
Assignees
Labels
No labels