Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change exit code for CLI flag error #7134

Merged
merged 7 commits into from
Aug 15, 2023

Use `EXIT_CODE_*` constants also for test code

722f648
Select commit
Loading
Failed to load commit list.
Merged

Change exit code for CLI flag error #7134

Use `EXIT_CODE_*` constants also for test code
722f648
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Aug 15, 2023 in 1s

73.05% of diff hit (target 96.78%)

View this Pull Request on Codecov

73.05% of diff hit (target 96.78%)

Annotations

Check warning on line 425 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L424-L425

Added lines #L424 - L425 were not covered by tests

Check warning on line 430 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L429-L430

Added lines #L429 - L430 were not covered by tests

Check warning on line 454 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L453-L454

Added lines #L453 - L454 were not covered by tests

Check warning on line 458 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L457-L458

Added lines #L457 - L458 were not covered by tests

Check warning on line 523 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L522-L523

Added lines #L522 - L523 were not covered by tests

Check warning on line 548 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L547-L548

Added lines #L547 - L548 were not covered by tests

Check warning on line 580 in lib/cli.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/cli.mjs#L580

Added line #L580 was not covered by tests

Check warning on line 107 in lib/createPartialStylelintResult.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/createPartialStylelintResult.mjs#L2-L107

Added lines #L2 - L107 were not covered by tests

Check warning on line 59 in lib/descriptionlessDisables.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/descriptionlessDisables.mjs#L2-L59

Added lines #L2 - L59 were not covered by tests

Check warning on line 17 in lib/formatters/calcSeverityCounts.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/formatters/calcSeverityCounts.mjs#L17

Added line #L17 was not covered by tests

Check warning on line 49 in lib/formatters/githubFormatter.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/formatters/githubFormatter.mjs#L2-L49

Added lines #L2 - L49 were not covered by tests

Check warning on line 24 in lib/formatters/stringFormatter.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/formatters/stringFormatter.mjs#L22-L24

Added lines #L22 - L24 were not covered by tests

Check warning on line 45 in lib/invalidScopeDisables.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/invalidScopeDisables.mjs#L2-L45

Added lines #L2 - L45 were not covered by tests

Check warning on line 99 in lib/needlessDisables.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/needlessDisables.mjs#L2-L99

Added lines #L2 - L99 were not covered by tests

Check warning on line 73 in lib/prepareReturnValue.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/prepareReturnValue.mjs#L2-L73

Added lines #L2 - L73 were not covered by tests

Check warning on line 105 in lib/reference/mediaFeatures.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/reference/mediaFeatures.mjs#L2-L105

Added lines #L2 - L105 were not covered by tests

Check warning on line 390 in lib/reference/properties.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/reference/properties.mjs#L2-L390

Added lines #L2 - L390 were not covered by tests

Check warning on line 62 in lib/reportDisables.mjs

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/reportDisables.mjs#L2-L62

Added lines #L2 - L62 were not covered by tests