From 300057aa882ee70edd4b8b29e6507daf0320e574 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Sat, 9 Feb 2019 13:43:44 +1030 Subject: [PATCH] Linting --- lib/common.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/common.js b/lib/common.js index 7ffc4d7..130d0a6 100755 --- a/lib/common.js +++ b/lib/common.js @@ -179,10 +179,9 @@ exports.checkDirectorySync = (directory) => { fs.statSync(directory); }catch(e){ try{ - fs.mkdirSync(directory); - } - catch(err){ - mkdirp.sync(directory);//error : directory & sub directories to be newly created + fs.mkdirSync(directory); + }catch(err){ + mkdirp.sync(directory);// error : directory & sub directories to be newly created } } };