-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Strip json result array after formatting
This refactor is done to not have a special case for array vs single result when formatting the results for JSON output. Note: dataToSend will now take the jsonData after formatting rather than the data before formatting. Since the formatting only changes the vulnerbilities and removes the unwanted scanResult, and since the vulnerbilities are removed from dataToSend before it is used, this change will not affect the CLI bahvior except for removing the unwanted scanResult.
- Loading branch information
Showing
6 changed files
with
2,449 additions
and
2,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.