This commit is contained in:
Saoud Rizwan
2024-10-05 07:33:13 -04:00
parent 16fdaff8b3
commit 9338f2a45f

View File

@@ -95,7 +95,7 @@ class WorkspaceTracker {
} }
private normalizeFilePath(filePath: string): string { 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 return filePath.endsWith("/") ? resolvedPath + "/" : resolvedPath
} }