-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: exit code when IaC scans are empty
According to https://support.snyk.io/hc/en-us/articles/360003812578#UUID-c88e66cf-431c-9ab1-d388-a8f82991c6e0, the Snyk CLI should return 3 when there were no supported files in a scan. This allows user to distinguish this situation from a complete scan, and from when errors encountered during the scan. We were actually returning 2, which is also returned when errors are encountered during a scan.
- Loading branch information
Craig Furman
committed
Sep 13, 2021
1 parent
c3e774d
commit c3d36d5
Showing
2 changed files
with
4 additions
and
2 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