snyk / snyk-nuget-plugin

Basic Snyk CLI plugin for .NET support.
Other
5 stars 14 forks source link

fix: [OSM-782] Fix local `PackageReference` bug for `v2` parsing #190

Closed dotkas closed 10 months ago

dotkas commented 10 months ago

The --dotnet-runtime-resolution logic relies on some string parsing to understand where we placed the .dll or .exe assemblies we need to identify. I did not think about local PackageReferences that needs to be restored in a chained order.

Thus my logic extracted the first element it found in the stdout log, where it should have looked for the last.

snyksec commented 10 months ago

:tada: This PR is included in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: