Merge remote-tracking branch 'origin/master'

master
adb 4 years ago
commit 981d62c6f0

@ -18,7 +18,7 @@ export function loadData(path) {
export function getStat(path) { export function getStat(path) {
fs.stat(path, (err, stat) => { fs.stat(path, (err, stat) => {
if(err == null) return true; if(err == null) return true;
else if(err.code === 'ENOENT') return false; if(err.code === 'ENOENT') return false;
else return err.code; return err.code;
}); });
} }
Loading…
Cancel
Save