lirantal / lockfile-lint

Lint an npm or yarn lockfile to analyze and detect security issues
Apache License 2.0
776 stars 35 forks source link

fix: better error messages that use the long-form alias of CLI flags #165

Closed lirantal closed 1 year ago

lirantal commented 1 year ago

Fixes #115 by providing referencing the long-form alias path of a CLI flag if it has errors associated with it, rather than the short-form single letter flag.

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (0c69a9a) 97.75% compared to head (c706719) 97.75%.

:exclamation: Current head c706719 differs from pull request most recent head c9b6f91. Consider uploading reports for the commit c9b6f91 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #165 +/- ## ======================================= Coverage 97.75% 97.75% ======================================= Files 13 13 Lines 356 356 Branches 78 78 ======================================= Hits 348 348 Misses 8 8 ``` | [Impacted Files](https://app.codecov.io/gh/lirantal/lockfile-lint/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liran+Tal) | Coverage Δ | | |---|---|---| | [packages/lockfile-lint/src/config.js](https://app.codecov.io/gh/lirantal/lockfile-lint/pull/165?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liran+Tal#diff-cGFja2FnZXMvbG9ja2ZpbGUtbGludC9zcmMvY29uZmlnLmpz) | `100.00% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.