Skip to content
New issue

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

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

Already on GitHub? # to your account

Use globby instead of vscode.workspace.findFiles #2938

Merged
merged 2 commits into from
Aug 27, 2021
Merged

Use globby instead of vscode.workspace.findFiles #2938

merged 2 commits into from
Aug 27, 2021

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Aug 27, 2021

Per the docs on VS Code's findFiles

@return A thenable that resolves to an array of resource identifiers. Will return no results if no workspace folders are opened.

Which is problematic/annoying because users can create a project when they don't have a workspace open. I started using findFiles in this PR, which means it would be a regression in 1.5.0 unless I fix it now.

Fixes #2933

@ejizba ejizba requested a review from a team as a code owner August 27, 2021 17:57
@ejizba ejizba merged commit c280f5d into main Aug 27, 2021
@ejizba ejizba deleted the ej/glob branch August 27, 2021 18:24
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail to create a .NET 6 C# project with an error "Failed to find csproj file in folder 'cs'"
2 participants