snyk-nuget-plugin
Advanced tools
Comparing version 2.7.5 to 2.7.6
@@ -65,3 +65,3 @@ "use strict"; | ||
} | ||
console.error(` | ||
console.warn(` | ||
\x1b[33m⚠ WARNING\x1b[0m: Testing a .NET project with runtime resolution enabled. | ||
@@ -68,0 +68,0 @@ This should be considered experimental and not relied upon for production use. |
@@ -120,3 +120,3 @@ "use strict"; | ||
if (targetFramework && !targetFrameworks.includes(targetFramework)) { | ||
console.error(`\x1b[33m⚠ WARNING\x1b[0m: Supplied targetframework \x1b[1m${targetFramework}\x1b[0m was not detected in the supplied | ||
console.warn(`\x1b[33m⚠ WARNING\x1b[0m: Supplied targetframework \x1b[1m${targetFramework}\x1b[0m was not detected in the supplied | ||
manifest file. Available targetFrameworks detected was \x1b[1m${targetFrameworks.join(',')}\x1b[0m. | ||
@@ -141,3 +141,3 @@ Will attempt to build dependency graph anyway, but the operation might fail.`); | ||
if (!depsParser.isSupportedByV2GraphGeneration(framework)) { | ||
console.error(`\x1b[33m⚠ WARNING\x1b[0m: The runtime resolution flag is currently only supported for the following TargetFrameworks: .NET versions 5 and higher, all versions of .NET Core and all versions of .NET Standard. Detected a TargetFramework: \x1b[1m${framework}\x1b[0m, which will be skipped.`); | ||
console.warn(`\x1b[33m⚠ WARNING\x1b[0m: The runtime resolution flag is currently only supported for the following TargetFrameworks: .NET versions 5 and higher, all versions of .NET Core and all versions of .NET Standard. Detected a TargetFramework: \x1b[1m${framework}\x1b[0m, which will be skipped.`); | ||
return false; | ||
@@ -158,3 +158,3 @@ } | ||
if (!projectPath) { | ||
console.error(`\x1b[33m⚠ WARNING\x1b[0m: Could not detect any projectPath in the project assets file, if your solution contains multiple projects in the same folder, this operation might fail.`); | ||
console.warn(`\x1b[33m⚠ WARNING\x1b[0m: Could not detect any projectPath in the project assets file, if your solution contains multiple projects in the same folder, this operation might fail.`); | ||
} | ||
@@ -161,0 +161,0 @@ // Loop through all TargetFrameworks supplied and generate a dependency graph for each. |
@@ -62,3 +62,3 @@ { | ||
}, | ||
"version": "2.7.5" | ||
"version": "2.7.6" | ||
} |
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
137512