pull/1/head
Caleb James DeLisle 8 years ago
parent 5fe3ffabd1
commit de9f642ccc

@ -39,7 +39,7 @@ var checkPath = function (path, callback) {
} }
var dirPath = path.replace(/\/[^\/]*$/, '/'); var dirPath = path.replace(/\/[^\/]*$/, '/');
Fs.mkdir(dirPath, function (err) { Fs.mkdir(dirPath, function (err) {
if (err && err !== 'EEXIST') { if (err && err.code !== 'EEXIST') {
callback(err); callback(err);
return; return;
} }

Loading…
Cancel
Save