snyk-mvn-plugin
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -7,5 +7,6 @@ "use strict"; | ||
const errorLabel = /^\[ERROR\]/gm; | ||
const successLabel = /^\[INFO\] BUILD SUCCESS/gm; | ||
// Parse the output from 'mvn dependency:tree -DoutputType=dot' | ||
function parseStdout(stdout) { | ||
if (errorLabel.test(stdout)) { | ||
if (errorLabel.test(stdout) && !successLabel.test(stdout)) { | ||
throw new Error('Maven output contains errors.'); | ||
@@ -12,0 +13,0 @@ } |
@@ -54,3 +54,3 @@ { | ||
}, | ||
"version": "3.1.0" | ||
"version": "3.1.1" | ||
} |
Sorry, the diff of this file is not supported yet
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
60687
840