From 7780921582a7e5870978030246ba3a977d639ec8 Mon Sep 17 00:00:00 2001 From: Daniel Riquelme Date: Fri, 24 Feb 2017 14:58:49 -0300 Subject: [PATCH] Update index.js (#1603) 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 d8d28496cbf..48d1b5572dd 100755 --- a/packages/create-react-app/index.js +++ b/packages/create-react-app/index.js @@ -311,7 +311,7 @@ function moveReactScriptsToDev(packageName) { // 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) {