-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
--outputformat json flag doesn't seem to work #421
Comments
Did you delete the template text for the bug report or were you not presented with it? |
I'm asking because now I have to ask the questions from that template, like which version of retire is this, what node.js version is this etc. |
retire.js v4.3.3 So when i ran When i tried running same command having --outputformat=json option from scratch , deleting report1.json which is created as part of above command , report1.json looks empty -> no results are being added. |
Seems there is a problem with |
|
It didn't add vulnerability results to data or the messages array. |
Struggling to reproduce this:
|
Can you try adding |
Below is the output generated without json flag
with json flag:
|
If you leave out the |
Awesome tried with different folder its working now , thanks eoftedal !! |
--outputformat option is working as expected |
I tried executing below command
retire --outputpath report1.json --outputformat=json --jspath /Users/plakshmi/Graph-ql/gqlsamplenodeweb
But it is not appending any scan results to json file. When I remove --outputformat=json option, then it is appending scan results as text.
How can I fix this/ is there any way to get result in json format.
The text was updated successfully, but these errors were encountered: