align w release branch (#259267)

tweak
This commit is contained in:
Megan Rogge 2025-08-01 15:47:55 -04:00 committed by GitHub
parent 6ac234017d
commit 3aef8be5e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -65,8 +65,9 @@ export async function getTaskForTool(id: string | undefined, taskDefinition: { t
}
let tasksForWorkspace;
const workspaceFolderPath = URI.file(workspaceFolder).path;
for (const [folder, tasks] of workspaceFolderToTaskMap) {
if (URI.parse(folder).path === URI.parse(workspaceFolder).path) {
if (URI.parse(folder).path === workspaceFolderPath) {
tasksForWorkspace = tasks;
break;
}