Skip to content

Commit 9077e95

Browse files
author
Andy Hanson
committed
Provide realpath for module resolvution in LSHost
1 parent 6c6de2a commit 9077e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/editorServices.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ namespace ts.server {
113113
this.moduleResolutionHost = {
114114
fileExists: fileName => this.fileExists(fileName),
115115
readFile: fileName => this.host.readFile(fileName),
116-
directoryExists: directoryName => this.host.directoryExists(directoryName)
116+
directoryExists: directoryName => this.host.directoryExists(directoryName),
117+
realpath: path => this.host.realpath(path)
117118
};
118119
}
119120

0 commit comments

Comments
 (0)