snyk / snyk-nuget-plugin

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

fix: fixing bug where .deps file was placed in a subdir of the publis… #205

Closed dotkas closed 4 months ago

dotkas commented 4 months ago

Including Microsoft.NET.Sdk.Functions over version 4.x caused the publish folder to nest bin/ before the .deps file was written.

This caused our logic to fail, as we're only looking for the file in the root folder, as up until now, this was the standard. See this thread.

This PR, instead of taking chances, just scans the entire publish-dir for a .deps file now.

In virtually all cases this file should be in the root, causing the performance overhead to be negligible.

snyksec commented 4 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: