Skip to content

Commit 0d44010

Browse files
authored
fix(linux): Fix the issue where the plugin does not work properly under Linux (#47)
1 parent 32d40bd commit 0d44010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/folderRoot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class WorkspaceFolderRoot implements vscode.Disposable {
1313
private checkUri() {
1414
const folders = vscode.workspace.workspaceFolders || [];
1515
this._folderSet = new Set(
16-
folders.map((i) => i.uri.fsPath.toLocaleLowerCase().replace(/\\/g, '/')).filter((i) => i),
16+
folders.map((i) => i.uri.fsPath.replace(/\\/g, '/')).filter((i) => i),
1717
);
1818
// TODO Special handling for multiple workspaces
1919
if (folders.length) {

0 commit comments

Comments
 (0)