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