Skip to content

Commit 7780921

Browse files
driquelmerandycoulman
authored andcommitted
Update index.js (facebook#1603)
To avoid file conflict issue with IJ static web projects
1 parent e468a53 commit 7780921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-react-app/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ function moveReactScriptsToDev(packageName) {
311311
// https://github.com/facebookincubator/create-react-app/pull/368#issuecomment-243446094
312312
function isSafeToCreateProjectIn(root) {
313313
var validFiles = [
314-
'.DS_Store', 'Thumbs.db', '.git', '.gitignore', '.idea', 'README.md', 'LICENSE'
314+
'.DS_Store', 'Thumbs.db', '.git', '.gitignore', '.idea', 'README.md', 'LICENSE', 'web.iml'
315315
];
316316
return fs.readdirSync(root)
317317
.every(function(file) {

0 commit comments

Comments
 (0)