Skip to content

Commit 02bed5e

Browse files
committed
Update cached mtime correctly for classes
1 parent 67eab0b commit 02bed5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/FileSystemProvider/FileSystemProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class FileSystemProvider implements vscode.FileSystemProvider {
149149
public async readFile(uri: vscode.Uri): Promise<Uint8Array> {
150150
return this._lookupAsFile(uri).then((file: File) => {
151151
// Update cache entry
152-
const uniqueId = `${workspaceFolderOfUri(uri)}:${file.name}`;
152+
const uniqueId = `${workspaceFolderOfUri(uri)}:${file.fileName}`;
153153
workspaceState.update(`${uniqueId}:mtime`, file.mtime);
154154
return file.data;
155155
});

0 commit comments

Comments
 (0)