master
Mark Moffat 2019-02-09 13:43:44 +10:30
parent 1ee773a3fd
commit 300057aa88
1 changed files with 3 additions and 4 deletions

View File

@ -180,9 +180,8 @@ exports.checkDirectorySync = (directory) => {
}catch(e){ }catch(e){
try{ try{
fs.mkdirSync(directory); fs.mkdirSync(directory);
} }catch(err){
catch(err){ mkdirp.sync(directory);// error : directory & sub directories to be newly created
mkdirp.sync(directory);//error : directory & sub directories to be newly created
} }
} }
}; };