Skip to content

Commit a899431

Browse files
authored
Update refreshCache.ts
1 parent 29e8589 commit a899431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/kumilinwa/refreshCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Dirname = join(dirname(fileURLToPath(import.meta.url)));
1010
export async function refreshCachedLangSpec() {
1111
const data = await fetch(LangSpecURL).then(res => res.json());
1212
await writeFile(join(Dirname, 'langspec.cache.json'), JSON.stringify(data));
13-
await new Jsoning(join('..', '..', '..', 'stats.tmp.db.json')).set(
13+
await new Jsoning(join(Dirname, '..', '..', '..', 'stats.tmp.db.json')).set(
1414
'langSpecCacheAge',
1515
Date.now()
1616
);

0 commit comments

Comments
 (0)