fix store.update
This commit is contained in:
@@ -26,6 +26,7 @@ class Store {
|
||||
delete this.record[key];
|
||||
}
|
||||
public async update(record: Record<string, string>) {
|
||||
this.record = record;
|
||||
await write(this.filename, JSON.stringify(this.record), "utf8");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user