1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix ENOENT error in LocalFileSystem.clean()

This commit is contained in:
HirokiUchikawa 2018-05-31 14:09:36 +09:00
parent 16715673c3
commit a835f9f0cb

View File

@ -133,6 +133,12 @@ LocalFileSystem.prototype.clean = function(activeNodes){
} }
return result; return result;
},[])); },[]));
}).catch(function(err){
if(err.code == 'ENOENT') {
return when.resolve();
}else{
return when.reject(err);
}
}); });
} }