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(/\/[^\/]*$/, '/');
Fs.mkdir(dirPath, function (err) {
if (err && err !== 'EEXIST') {
if (err && err.code !== 'EEXIST') {
callback(err);
return;
}

Loading…
Cancel
Save