mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
parent
d698ce60ce
commit
bca6f51d8a
1 changed files with 2 additions and 2 deletions
|
@ -266,8 +266,8 @@ export class CodeApplication {
|
|||
return true;
|
||||
}
|
||||
|
||||
const srcUri: any = URI.parse(source.toLowerCase()).fsPath;
|
||||
const rootUri = URI.file(this.environmentService.appRoot.toLowerCase()).fsPath;
|
||||
const srcUri: any = URI.parse(source).fsPath.toLowerCase();
|
||||
const rootUri = URI.file(this.environmentService.appRoot).fsPath.toLowerCase();
|
||||
return srcUri.startsWith(rootUri + nativeSep);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue