Commit 1c0851de authored by Daniel Riquelme's avatar Daniel Riquelme Committed by Dan Abramov
Browse files

Update index.js (#1603)

To avoid file conflict issue with IJ static web projects
parent c3240a18
4 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file,!1933Add note about installing watchman
Showing with 1 addition and 1 deletion
+1 -1
...@@ -311,7 +311,7 @@ function moveReactScriptsToDev(packageName) { ...@@ -311,7 +311,7 @@ function moveReactScriptsToDev(packageName) {
// https://github.com/facebookincubator/create-react-app/pull/368#issuecomment-243446094 // https://github.com/facebookincubator/create-react-app/pull/368#issuecomment-243446094
function isSafeToCreateProjectIn(root) { function isSafeToCreateProjectIn(root) {
var validFiles = [ 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) return fs.readdirSync(root)
.every(function(file) { .every(function(file) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment