function remove(appDataPath = CERT_PATH) {
  if (fs.existsSync(appDataPath)) {
    fs.readdirSync(appDataPath)
      .forEach(file => fs.unlinkSync(path.join(appDataPath, file)))
    fs.rmdirSync(appDataPath)
  }
}
function remove(appDataPath = CERT_PATH) {
  if (fs.existsSync(appDataPath)) {
    fs.readdirSync(appDataPath)
      .forEach(file => fs.unlinkSync(path.join(appDataPath, file)))
    fs.rmdirSync(appDataPath)
  }
}
function remove ( appDataPath = CERT_PATH ) { if ( fs . existsSync ( appDataPath ) ) { fs . readdirSync ( appDataPath ) . forEach ( file => fs . unlinkSync ( path . join ( appDataPath , file ) ) ) fs . rmdirSync ( appDataPath ) } }
delete a folder and the file inside it
delete a folder and the file inside it