src/utils/private.js
function checkFolder(ffs, fld) {
    let fldBits = fld.split('/'), mkfld = '';
    fldBits.forEach(toBit => {
        mkfld = mkfld ? mkfld + '/' + toBit : toBit;
        if (mkfld && !ffs.existsSync(mkfld)) {
            ffs.mkdirSync(mkfld);
        }
    });
}
function checkFolder(ffs, fld) {
    let fldBits = fld.split('/'), mkfld = '';
    fldBits.forEach(toBit => {
        mkfld = mkfld ? mkfld + '/' + toBit : toBit;
        if (mkfld && !ffs.existsSync(mkfld)) {
            ffs.mkdirSync(mkfld);
        }
    });
}
function checkFolder ( ffs , fld ) { let fldBits = fld . split ( '/' ) , mkfld = '' ; fldBits . forEach ( toBit => { mkfld = mkfld ? mkfld + '/' + toBit : toBit ; if ( mkfld && ! ffs . existsSync ( mkfld ) ) { ffs . mkdirSync ( mkfld ) ; } } ) ; }
PRIVATE Check Folder
PRIVATE Check Folder