mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-14 20:49:04 +00:00
force encoding
This commit is contained in:
@ -27,6 +27,6 @@ export class Cache {
|
||||
this.debug(`set: key=${key}`);
|
||||
const path = this.cachePath(key);
|
||||
mkdirSync(path.split("/").slice(0, -1).join("/"), { recursive: true });
|
||||
writeFileSync(path, data);
|
||||
writeFileSync(path, data, "utf-8");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user