Skip to content

Commit 76f51ad

Browse files
committed
Cleanup
1 parent c080643 commit 76f51ad

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/editorServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ namespace ts.server {
389389
}
390390

391391
getTypeRootsVersion(project: ConfiguredProject) {
392-
return getLatestDirectoryChangeTime(project.getEffectiveTypeRoots(), this.host);
392+
return server.getLatestDirectoryChangeTime(project.getEffectiveTypeRoots(), this.host);
393393
}
394394

395395
private handleChangeInSourceFileForConfiguredProject(project: ConfiguredProject) {

src/server/lsHost.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace ts.server {
147147

148148
getTypeRootsVersion() {
149149
const roots = ts.getEffectiveTypeRoots(this.project.getCompilerOptions(), this);
150-
return getLatestChangeTime(roots, this.host);
150+
return server.getLatestDirectoryChangeTime(roots, this.host);
151151
}
152152

153153
getScriptKind(fileName: string) {

src/server/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ namespace ts.server {
9494
if (!host.getModifiedTime || !host.directoryExists || !paths) {
9595
return 0;
9696
}
97-
97+
9898
return Math.max.apply(Math, paths.map(path => {
9999
if (host.directoryExists(path)) {
100100
return host.getModifiedTime(path);

0 commit comments

Comments
 (0)