We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d631473 commit 5eb1547Copy full SHA for 5eb1547
packages/create-react-app/createReactApp.js
@@ -429,7 +429,7 @@ function run(
429
console.log();
430
431
// On 'exit' we will delete these files from target directory.
432
- const knownGeneratedFiles = ['package.json', 'node_modules'];
+ const knownGeneratedFiles = ['package.json', 'yarn.lock', 'node_modules'];
433
const currentFiles = fs.readdirSync(path.join(root));
434
currentFiles.forEach(file => {
435
knownGeneratedFiles.forEach(fileToMatch => {
0 commit comments