You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently dotnet list package --format json command only returns 0 or 1. Here 1 means successfully generated report or 1 means some issue with generating the report.
Still customer have to parse json output to check if my report has any vulnerability/outdated/deprecated package.
Instead, we could use return different application exit code to signal customer if there is any vulnerability issue or not, it would save them time.
Related issue: #7752
Verbose Logs
No response
The text was updated successfully, but these errors were encountered:
erdembayar
changed the title
Return different exit codes for dotnet list package command in case vulnerable/outdated/deprecated package detected
Return different exit codes for dotnet list package report command in case vulnerable/outdated/deprecated package detected
Nov 30, 2022
NuGet Product Used
dotnet.exe
Product Version
n/a
Worked before?
No response
Impact
No response
Repro Steps & Context
Currently
dotnet list package --format json
command only returns 0 or 1. Here 1 meanssuccessfully generated report
or 1 means some issue with generating the report.Still customer have to parse json output to check if my report has any vulnerability/outdated/deprecated package.
Instead, we could use return different application exit code to signal customer if there is any vulnerability issue or not, it would save them time.
Related issue: #7752
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: