@soos-io/soos-sast
Advanced tools
Comparing version 0.1.5 to 0.1.7
@@ -119,7 +119,7 @@ #!/usr/bin/env node | ||
}); | ||
const exitWithError = (0, utilities_1.verifyScanStatus)(scanStatus); | ||
if (exitWithError && this.args.onFailure === api_client_1.OnFailure.Fail) { | ||
const exitCode = (0, utilities_1.getExitCodeFromStatus)(scanStatus); | ||
if (exitCode > 0 && this.args.onFailure === api_client_1.OnFailure.Fail) { | ||
api_client_1.soosLogger.warn("Failing the build."); | ||
(0, process_1.exit)(1); | ||
} | ||
(0, process_1.exit)(exitCode); | ||
} | ||
@@ -126,0 +126,0 @@ catch (error) { |
{ | ||
"name": "@soos-io/soos-sast", | ||
"version": "0.1.5", | ||
"version": "0.1.7", | ||
"description": "SOOS Static Application Security Testing (SAST) scanning support.", | ||
@@ -29,3 +29,3 @@ "main": "bin/index.js", | ||
"dependencies": { | ||
"@soos-io/api-client": "^0.2.13", | ||
"@soos-io/api-client": "^0.2.15", | ||
"argparse": "^2.0.1", | ||
@@ -32,0 +32,0 @@ "glob": "^10.3.10", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15681
Updated@soos-io/api-client@^0.2.15