Closed kellymoore closed 3 years ago
Can you explain what you're trying to accomplish?
@naugtur the ability to run npm-audit-resolver
with the --parseable
flag as can be done with npm audit --parseable
. The problem is --json
is appended by default and overrides this, causing the error I've pasted above
I understand what you're trying to run. I don't understand what for. Need wider context and an example.
If we define the request as "make passing --parseable work" my response is it's impossible, because npm-audit-resolver consumes json from npm audit and without it, all functionality is gone.
Please share what you're trying to accomplish and any context you find relevant
@kellymoore I do want to help you. Please help me help you ;)
It would be nice to be able to use the
--parseable
flag so that we can print out the results in pipelines. Currently when passing this flag down, the--json
flag is still used and we get the following output: