Merge pull request #6481 from adyouri/master

Fix a typo
This commit is contained in:
Amy Lam
2019-02-21 08:41:31 -08:00
committed by GitHub

View File

@@ -465,7 +465,7 @@ function run(
const currentFiles = fs.readdirSync(path.join(root));
currentFiles.forEach(file => {
knownGeneratedFiles.forEach(fileToMatch => {
// This remove all of knownGeneratedFiles.
// This removes all knownGeneratedFiles.
if (file === fileToMatch) {
console.log(`Deleting generated file... ${chalk.cyan(file)}`);
fs.removeSync(path.join(root, file));