From e347515f0dbd0765ca3121fd8222439ec6d260ce Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 17 Jan 2023 22:38:05 -0600 Subject: [PATCH] fix: use the proper path separator This was using `fsPath` which normalizes for the OS. This should prevent that! Fixes #21 --- src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.ts b/src/commands.ts index 8ad6d901..def1810c 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -171,7 +171,7 @@ export class Commands { if (opened.length > 1) { const items: vscode.QuickPickItem[] = opened.map((folder): vscode.QuickPickItem => { return { - label: folder.folderUri.fsPath, + label: folder.folderUri.path, } }) const item = await vscode.window.showQuickPick(items, {