bit
bit copied to clipboard
Bit lint command not exiting with 0 when problems are found
Describe the bug
If problems are found when running the bit lint command does not exit with 0
Steps to Reproduce
- Create a bit react environment
- Ensure a component has listing errors
- Run
bit lint
Expected Behavior
The command should produce errors in the console and should exit with code 0. This will cause it to be a failure for husky and/or CI builds
Specifications
- Bit version: 0.0.499
- Workspace type: harmony
- Node version: 14.17.3
- npm / yarn version: npm - 6.14.13
- Platform: Mac OS
for harmony workspace
- relevant env "teambit.react/react"
- relevant aspects "teambit.harmony/aspect"
Additional context
We use a custom-lint extension that expands upon the defined ruleset.
Add any other context about the problem here.