forked from cloudflare/pint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OBS-851 ignore problems on unmodified lines
When running in CI mode all modified files are parsed and scanned. But when reporting errors to BitBucket we only send problems from modified lines (since it doesn't accept annotations on unmodified lines). This means that we can find a BUG on unmodified line and exit with non-zero code, but send a PASS report to BB. Fix it by ignoring problems unless they are from modified lines during scan. Scan will discard anything and not pass it further if it's not modified.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters