mirror of https://github.com/keeweb/keeweb.git
fixed storage-file error handling
This commit is contained in:
parent
7f9a6a31b7
commit
06e2491248
|
@ -92,7 +92,7 @@ const StorageFile = StorageBase.extend({
|
|||
if (rev) {
|
||||
Launcher.statFile(path, (stat, err) => {
|
||||
if (err) {
|
||||
return onError(err);
|
||||
return write();
|
||||
}
|
||||
const fileRev = stat.mtime.getTime().toString();
|
||||
if (fileRev !== rev) {
|
||||
|
|
Loading…
Reference in New Issue