Skip to content

Commit

Permalink
Update index.js (#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 gaearon committed Feb 24, 2017
1 parent c3240a1 commit 1c0851d
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 1c0851d

Please sign in to comment.