mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
add test, fix getContainingWorkspaceFolder, #28526
This commit is contained in:
@@ -37,7 +37,7 @@ class Workspace2 {
|
||||
const root = this.workspace.getRoot(uri);
|
||||
if (root) {
|
||||
for (const folder of this.folders) {
|
||||
if (folder.uri.toString() === uri.toString()) {
|
||||
if (folder.uri.toString() === root.toString()) {
|
||||
return folder;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user