snyk-gradle-plugin
Advanced tools
Comparing version 2.12.4 to 2.12.5
@@ -28,2 +28,7 @@ "use strict"; | ||
const quot = isWin ? '"' : '\''; | ||
const cannotResolveVariantMarkers = [ | ||
'Cannot choose between the following', | ||
'Could not select value from candidates', | ||
'Unable to find a matching variant of project', | ||
]; | ||
function isMultiSubProject(options) { | ||
@@ -237,4 +242,3 @@ return options.multiDepRoots; | ||
// See test/manual/README.md | ||
if (/Cannot choose between the following/.test(error.message) | ||
|| /Could not select value from candidates/.test(error.message)) { | ||
if (cannotResolveVariantMarkers.find((m) => error.message.includes(m))) { | ||
// Extract attribute information via JSONATTRS marker: | ||
@@ -241,0 +245,0 @@ const jsonAttrs = JSON.parse(error.message.split('\n').filter((line) => /^JSONATTRS /.test(line))[0].substr(10)); |
@@ -49,3 +49,3 @@ { | ||
}, | ||
"version": "2.12.4" | ||
"version": "2.12.5" | ||
} |
Sorry, the diff of this file is not supported yet
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
47654
482