Skip to content

Commit 3aef8be

Browse files
authored
align w release branch (microsoft#259267)
tweak
1 parent 6ac2340 commit 3aef8be

File tree

1 file changed

+2
-1
lines changed
  • src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/task/taskHelpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@ export async function getTaskForTool(id: string | undefined, taskDefinition: { t
6565
}
6666

6767
let tasksForWorkspace;
68+
const workspaceFolderPath = URI.file(workspaceFolder).path;
6869
for (const [folder, tasks] of workspaceFolderToTaskMap) {
69-
if (URI.parse(folder).path === URI.parse(workspaceFolder).path) {
70+
if (URI.parse(folder).path === workspaceFolderPath) {
7071
tasksForWorkspace = tasks;
7172
break;
7273
}

0 commit comments

Comments
 (0)