Linting
parent
1ee773a3fd
commit
300057aa88
|
@ -180,9 +180,8 @@ exports.checkDirectorySync = (directory) => {
|
|||
}catch(e){
|
||||
try{
|
||||
fs.mkdirSync(directory);
|
||||
}
|
||||
catch(err){
|
||||
mkdirp.sync(directory);//error : directory & sub directories to be newly created
|
||||
}catch(err){
|
||||
mkdirp.sync(directory);// error : directory & sub directories to be newly created
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue