-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't search node_modules if .
is listed as a source dependency.
#278
Comments
node_modules should not be in your Elm source-directories. |
It wasn't. I had a node_module installed that had some |
Can you explain what your directory tree looks like? Can you explain what you mean by source dependency? |
I have Elm files in the root directory, and my I have a node dependency in When I ran |
Don't use |
Sure, this is an older project and I have moved onto I do think a lot of people use That said it might not be as big of a deal, in which case feel free to close this. |
Right, yeah. I think adding an |
Ignoring things that are ignored in .gitignore is generally not a good way to do things. It introduces magic into the system, and reduces the amount you can rely on it. |
Fair enough, I can buy that arguments. I do think having |
I think the original issue here was fine. It's common to have . as a source directory, and it's common to have ./node_modules. It's also common to have ./tests/node_modules when . is a source directory. I'm leaving this issue as described. Please open a new discussion issue if you want to debate alternative solutions. |
Fixed in 021b55a |
Taken from avh4/elm-upgrade#17 (comment).
The text was updated successfully, but these errors were encountered: