Linting
parent
1ee773a3fd
commit
300057aa88
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue