Skip to content

Commit c144632

Browse files
committed
fix: update openFile function to use provided path without modification
1 parent 90365c4 commit c144632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrations/misc/open-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function openFile(filePath: string, options: OpenFileOptions = {})
3131
const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath
3232

3333
// If path starts with ./, resolve it relative to workspace root if available
34-
// Otherwise, treat it as an absolute path
34+
// Otherwise, use the path as provided without modification
3535
const fullPath = filePath.startsWith("./")
3636
? workspaceRoot
3737
? path.join(workspaceRoot, filePath.slice(2))

0 commit comments

Comments
 (0)