async function mkdirp(dir) {
  try {
    const command = `mkdir -p ${dir}`;
    await execPromise(command);
    return Promise.resolve(true);
  } catch (err) {
    throw new Error(`Error occurs in mkdirp : ${err.message}`);
  }
}
/** mkdirp call mkdir -p dirname in linux / unix system
 * and return Promise<Boolean>
 */
mkdirp call mkdir -p dirname in linux / unix system
and return Promise
mkdirp call mkdir - p dirname in linux / unix system and return Promise
async function mkdirp(dir) {
  try {
    const command = `mkdir -p ${dir}`;
    await execPromise(command);
    return Promise.resolve(true);
  } catch (err) {
    throw new Error(`Error occurs in mkdirp : ${err.message}`);
  }
}
async function mkdirp ( dir ) { try { const command = ` ${ dir } ` ; await execPromise ( command ) ; return Promise . resolve ( true ) ; } catch ( err ) { throw new Error ( ` ${ err . message } ` ) ; } }
mkdirp call mkdir -p dirname in linux / unix system
 and return Promise<Boolean>
mkdirp call mkdir - p dirname in linux / unix system and return Promise<Boolean >