bit icon indicating copy to clipboard operation
bit copied to clipboard

Bit lint command not exiting with 0 when problems are found

Open blankenshipd001 opened this issue 5 years ago • 0 comments

Describe the bug

If problems are found when running the bit lint command does not exit with 0

Steps to Reproduce

  1. Create a bit react environment
  2. Ensure a component has listing errors
  3. 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.

blankenshipd001 avatar Aug 31 '21 18:08 blankenshipd001