lib/setup.js
/**
 * Remove all out temporary folders when the process exit
 *
 * This method should never be called directly,
 * triggering process.exit() should call it automatically.
 */
Remove all out temporary folders when the process exit
This method should never be called directly,
triggering process.exit() should call it automatically.
Remove all out temporary folders when the process exit This method should never be called directly triggering process . exit () should call it automatically .
function cleanup () {
  if (!process.logger.overwrite) {
    process.logger.nl()
  }
  process.logger.info(_`Cleanup before exit...`)
  removeSync(process.env.STUFF_FOLDER_SRC)
  removeSync(process.env.STUFF_FOLDER_THEME)
  process.logger.clear()
  if (!process.logger.overwrite) {
    process.logger.info(_`Done.`)
  }
}
function cleanup ( ) { if ( ! process . logger . overwrite ) { process . logger . nl ( ) } process . logger . info ( _ ` ` ) removeSync ( process . env . STUFF_FOLDER_SRC ) removeSync ( process . env . STUFF_FOLDER_THEME ) process . logger . clear ( ) if ( ! process . logger . overwrite ) { process . logger . info ( _ ` ` ) } }
Remove all out temporary folders when the process exit
 This method should never be called directly,
 triggering process.exit() should call it automatically.
Remove all out temporary folders when the process exit This method should never be called directly triggering process . exit () should call it automatically .