lib/helpers/sfs.js
function createDir (dir) {
  if (fs.existsSync(dir)) {
    return false
  }

  mkdirp.sync(dir)
  return true
}
function createDir (dir) {
  if (fs.existsSync(dir)) {
    return false
  }

  mkdirp.sync(dir)
  return true
}
function createDir ( dir ) { if ( fs . existsSync ( dir ) ) { return false } mkdirp . sync ( dir ) return true }
------------------------------------------------------------- Module. ------------------------------------------------------------- Create a directory if it doesn't exist yet.
------------------------------------------------------------- Module . ------------------------------------------------------------- Create a directory if it doesn t exist yet .