snyk-nuget-plugin 2.7.16 → 2.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/nuget-parser/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ async function inspect(root, targetFile, options) {
|
|
|
60
60
|
}
|
|
61
61
|
if (options['dotnet-runtime-resolution']) {
|
|
62
62
|
if (manifestType !== types_1.ManifestType.DOTNET_CORE) {
|
|
63
|
-
return Promise.reject(new errors_1.FileNotProcessableError(`runtime resolution flag is currently only supported for: .NET versions
|
|
63
|
+
return Promise.reject(new errors_1.FileNotProcessableError(`runtime resolution flag is currently only supported for: .NET versions 6 and higher, all versions of .NET Core and all versions of .NET Standard projects. Supplied project type was parsed as ${manifestType}.`));
|
|
64
64
|
}
|
|
65
65
|
console.warn(`
|
|
66
66
|
\x1b[33m⚠ WARNING\x1b[0m: Testing a .NET project with runtime resolution enabled.
|
|
@@ -136,7 +136,7 @@ Will attempt to build dependency graph anyway, but the operation might fail.`);
|
|
|
136
136
|
? [targetFramework]
|
|
137
137
|
: targetFrameworks.filter((framework) => {
|
|
138
138
|
if (!depsParser.isSupportedByV2GraphGeneration(framework)) {
|
|
139
|
-
console.warn(`\x1b[33m⚠ WARNING\x1b[0m: The runtime resolution flag is currently only supported for the following TargetFrameworks: .NET versions
|
|
139
|
+
console.warn(`\x1b[33m⚠ WARNING\x1b[0m: The runtime resolution flag is currently only supported for the following TargetFrameworks: .NET versions 6 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.`);
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
142
142
|
return true;
|
package/package.json
CHANGED