Skip to content

Commit

Permalink
Update index.js (facebook#1603)
Browse files Browse the repository at this point in the history
To avoid file conflict issue with IJ static web projects
  • Loading branch information
driquelme authored and randycoulman committed May 8, 2017
1 parent e468a53 commit 7780921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7780921

Please sign in to comment.