lib/io.js
function unlinkFilesMatchSync(match, location) {
  fs.readdirSync(location).forEach(function eachTemplate(filename) {
    if (match.test(path.basename(filename))) {
      var filePath = path.join(location, filename);
      if (validateFileSync(filePath)) {
        fs.unlinkSync(filePath);
      }
    }
  });
}
function unlinkFilesMatchSync(match, location) {
  fs.readdirSync(location).forEach(function eachTemplate(filename) {
    if (match.test(path.basename(filename))) {
      var filePath = path.join(location, filename);
      if (validateFileSync(filePath)) {
        fs.unlinkSync(filePath);
      }
    }
  });
}
If there are any files in the location folder that are a match remove them.
@param match
@param location