Skip to content

Commit bca6f51

Browse files
committed
Make sure lower case paths in a consistent way
Fixes microsoft#56582
1 parent d698ce6 commit bca6f51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/vs/code/electron-main

src/vs/code/electron-main/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ export class CodeApplication {
266266
return true;
267267
}
268268

269-
const srcUri: any = URI.parse(source.toLowerCase()).fsPath;
270-
const rootUri = URI.file(this.environmentService.appRoot.toLowerCase()).fsPath;
269+
const srcUri: any = URI.parse(source).fsPath.toLowerCase();
270+
const rootUri = URI.file(this.environmentService.appRoot).fsPath.toLowerCase();
271271
return srcUri.startsWith(rootUri + nativeSep);
272272
}
273273

0 commit comments

Comments
 (0)