mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 06:23:35 -04:00
[bug] fix cache
This commit is contained in:
parent
e2109bf940
commit
413237152a
@ -27,7 +27,7 @@ export class CacheObject {
|
|||||||
|
|
||||||
async invalidate() {
|
async invalidate() {
|
||||||
if (fs.existsSync(this.path)) {
|
if (fs.existsSync(this.path)) {
|
||||||
fs.unlinkSync();
|
fs.unlinkSync(this.path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user