pull/1/head
Caleb James DeLisle 2016-09-13 17:15:19 +02:00
parent 5fe3ffabd1
commit de9f642ccc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}