From 9338f2a45fa9cc1f76188b2113634a5ba751737f Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 5 Oct 2024 07:33:13 -0400 Subject: [PATCH] Fixes --- src/integrations/workspace/WorkspaceTracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/workspace/WorkspaceTracker.ts b/src/integrations/workspace/WorkspaceTracker.ts index fd169d7..fc60182 100644 --- a/src/integrations/workspace/WorkspaceTracker.ts +++ b/src/integrations/workspace/WorkspaceTracker.ts @@ -95,7 +95,7 @@ class WorkspaceTracker { } private normalizeFilePath(filePath: string): string { - const resolvedPath = path.resolve(filePath) + const resolvedPath = cwd ? path.resolve(cwd, filePath) : path.resolve(filePath) return filePath.endsWith("/") ? resolvedPath + "/" : resolvedPath }