Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

dotkas
Copy link
Contributor

@dotkas dotkas commented Apr 25, 2024

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.

@dotkas dotkas requested a review from a team as a code owner April 25, 2024 18:35
@dotkas dotkas enabled auto-merge (squash) April 25, 2024 18:37
Copy link
Contributor

@37IulianPopovici 37IulianPopovici left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dotkas dotkas merged commit 5023d53 into main Apr 26, 2024
4 checks passed
@dotkas dotkas deleted the dotkas/OSM-1697/deps-file-not-found branch April 26, 2024 06:13
@snyksec
Copy link

snyksec commented Apr 26, 2024

🎉 This PR is included in version 2.4.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants