We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9484653 commit 298d23dCopy full SHA for 298d23d
src/server/editorServices.ts
@@ -450,7 +450,7 @@ namespace ts.server {
450
if (this.host.realpath) {
451
this.realpathToScriptInfos = createMultiMap();
452
}
453
- this.currentDirectory = this.host.getCurrentDirectory();
+ this.currentDirectory = normalizePath(this.host.getCurrentDirectory());
454
this.toCanonicalFileName = createGetCanonicalFileName(this.host.useCaseSensitiveFileNames);
455
this.globalCacheLocationDirectoryPath = this.typingsInstaller.globalTypingsCacheLocation &&
456
ensureTrailingDirectorySeparator(this.toPath(this.typingsInstaller.globalTypingsCacheLocation));
0 commit comments