Skip to content

Commit

Permalink
feat: change default value of --fail flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vlasy committed Jan 29, 2021
1 parent ff3013e commit 7f3644e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Options:
--apiUrl <apiUrl> URL of DX Scanner API, can be set as ENV variable DXSCANNER_API_URL (default: https://provider.dxscanner.io/api/v1)
--ci CI mode (default: false)
-d --details print details in reports
--fail <impact> exits process with code 1 for any non-practicing condition of given level (high|medium|small|hint|off|all) (default: "high")
--fail <impact> exits process with code 1 for any non-practicing condition of given level (high|medium|small|hint|off|all) (default: "off")
--fix tries to fix problems automatically (default: false)
--fixPattern <pattern> fix only rules with IDs matching the regex
-j --json print report in JSON (default: false)
Expand Down
2 changes: 1 addition & 1 deletion src/test/factories/ArgumentsProviderFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const argumentsProviderFactory = (params: Partial<ArgumentsProvider> = {}
auth: undefined,
json: false,
details: false,
fail: PracticeImpact.high,
fail: PracticeImpact.off,
recursive: true,
ci: false,
fix: false,
Expand Down

0 comments on commit 7f3644e

Please sign in to comment.