This commit is contained in:
Tom Moor
2023-11-15 20:50:44 -05:00
parent a0b51b8c71
commit e76dcc0baf
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ export default class LocalStorage extends BaseStorage {
const filePath = this.getFilePath(key);
// Create the file on disk first
await fs.open(filePath, "w").then(close);
await fs.createFile(filePath);
return new Promise<string>((resolve, reject) => {
const dest = fs