Skip to content

Conversation

dennisblokland
Copy link
Contributor

Prevent undefined project destructuring by adding a check for an empty projects array in ProjectFilesProvider. This situation can occur when the .csproj file is present on disk, but the parser (i.e., NugetDepsTree.generate) doesn't find any valid project information within it. For example, if the project file is malformed or uses an unsupported structure.

@badsyntax
Copy link
Owner

Thanks!

@badsyntax badsyntax merged commit f53d668 into badsyntax:master Feb 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants