kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Bug fix
rodzic
2b0bf47c11
commit
938b13f21f
|
@ -188,7 +188,7 @@ module.exports = {
|
|||
cb => {
|
||||
fs.stat(srcPath, (err, stat) => {
|
||||
if (err && err.code === 'ENOENT') cb();
|
||||
else cb(new Error(`Directory exists (should not have happened: ${err.code})`));
|
||||
else cb(new Error(`Directory exists (should not have happened)`));
|
||||
});
|
||||
},
|
||||
cb => fs.mkdir(srcPath, undefined, cb),
|
||||
|
|
Ładowanie…
Reference in New Issue