From 2a56a52ae0b4e1344309973adfc5a47e48a2861e Mon Sep 17 00:00:00 2001 From: Daniel Riquelme Date: Mon, 20 Feb 2017 22:56:54 -0300 Subject: [PATCH] Update index.js To avoid file conflict issue with IJ static web projects --- packages/create-react-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-react-app/index.js b/packages/create-react-app/index.js index 4dbb37f4969..cdb9e0e6f70 100644 --- a/packages/create-react-app/index.js +++ b/packages/create-react-app/index.js @@ -273,7 +273,7 @@ function checkAppName(appName) { // https://github.com/facebookincubator/create-react-app/pull/368#issuecomment-243446094 function isSafeToCreateProjectIn(root) { var validFiles = [ - '.DS_Store', 'Thumbs.db', '.git', '.gitignore', '.idea', 'README.md', 'LICENSE' + '.DS_Store', 'Thumbs.db', '.git', '.gitignore', '.idea', 'README.md', 'LICENSE', 'web.iml' ]; return fs.readdirSync(root) .every(function(file) {