fixed storage-file error handling

This commit is contained in:
antelle 2017-02-21 20:02:39 +01:00
parent 7f9a6a31b7
commit 06e2491248
1 changed files with 1 additions and 1 deletions

View File

@ -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) {