Skip to content

Commit f093cb4

Browse files
committed
♻️ Simplify cache file path construction
Removed redundant name parameter in cache file path generation.
1 parent 1d4b3f7 commit f093cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/fscache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class FsCache<K, V> implements WorkspaceFileCache<any, any> {
3030
}
3131

3232
private cacheFilename(sha: string) {
33-
return join(this.folder(), this.name, sha + ".json")
33+
return join(this.folder(), sha + ".json")
3434
}
3535

3636
async get(key: any): Promise<any> {

0 commit comments

Comments
 (0)