Skip to content

Commit 149c686

Browse files
authored
fix: Wait for the cache to save (#7926)
1 parent 276b95a commit 149c686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cspell/src/util/cache/file-entry-cache/file-entry-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class ImplFileEntryCache implements FileEntryCache {
192192
}
193193
}
194194

195-
this.cache.save();
195+
await this.cache.save();
196196
}
197197

198198
resolveKeyToFile(entryKey: string): string {

0 commit comments

Comments
 (0)