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

v7 ignores command line arguments #334

Closed
hwo411 opened this issue Jun 3, 2024 · 2 comments
Closed

v7 ignores command line arguments #334

hwo411 opened this issue Jun 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hwo411
Copy link

hwo411 commented Jun 3, 2024

After updating to v7 command line arguments are ignored

e.g.,

npx audit-ci@^7 --help
audit-ci --help

and any others perform scan and return results, e.g.

Yarn audit report results:
{
  "vulnerabilities": {
    "info": 0,
    "low": 0,
    "moderate": 2,
    "high": 2,
    "critical": 0
  },
  "dependencies": 1666,
  "devDependencies": 0,
  "optionalDependencies": 0,
  "totalDependencies": 1666
}

That happen with any argument, e.g., including config.

OS: MacOS 14.5 @ ARM
Node: v18.19.1

That also happens inside docker images.

Version 6 works properly on the same machine.

@quinnturner
Copy link
Member

Confirmed reproduction, working on it.

@quinnturner quinnturner added the bug Something isn't working label Jun 3, 2024
quinnturner added a commit to quinnturner/audit-ci that referenced this issue Jun 3, 2024
@quinnturner
Copy link
Member

quinnturner commented Jun 3, 2024

#335 fixes this issue. Thank you for reporting. We haven't had coverage on the command line parser; we should add that. I've released v7.0.1 with this fix and highlighted in our release notes to skip v7.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants