pull/98/head
Piero Toffanin 2019-10-14 11:13:52 -04:00
rodzic 2b0bf47c11
commit 938b13f21f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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