code: function cleanFolder(outPath) {
      try {
          var stat = fs.lstatSync(outPath);
          if (stat.isDirectory()) {
              wrench.rmdirSyncRecursive(outPath);
          } else  {
              fs.unlinkSync(outPath);
          }
      } catch (e) {
          if (e.code != "ENOENT") throw e;
      }
  }
docs: Remove output if folder or symlink