Skip to content

Commit 8ab23f8

Browse files
Use sync version of fs.lstat
1 parent 7aeab47 commit 8ab23f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/services/project-changes-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class ProjectChangesInfo {
102102
if (fileStats.mtime.getTime() > mtime) {
103103
return true;
104104
}
105-
let lFileStats = this.$fs.getLsStats(filePath).wait();
105+
let lFileStats = this.$fs.getLsStats(filePath);
106106
if (lFileStats.mtime.getTime() > mtime) {
107107
return true;
108108
}

test/stubs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class FileSystemStub implements IFileSystem {
122122
return undefined;
123123
}
124124

125-
getLsStats(path: string): IFuture<IFsStats> {
125+
getLsStats(path: string): IFsStats {
126126
return undefined;
127127
}
128128

0 commit comments

Comments
 (0)