3.4.8 Warning regarding node_modules folder detecting something I don't understand #14145
-
According to this PR: #14140 when broad glob patterns are used it makes some effort to determine if there are node_modules folders in the specified directory according to these criteria:
However, I am using this in a Next.JS project to specify the
The build now throws the following warning:
I am confused by this because my node_modules folder is on the same level as My folder structure is something like
FInally, I don't know what 'vendor' is or how I would diagnose that to begin with. I have no files in the I kind of wanted to open an issue on this, but figured I would ask here first to see if anyone could figure out why this would throw this warning off the top of their heads. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The message mentions a |
Beta Was this translation helpful? Give feedback.
-
This is a false positive in your case, |
Beta Was this translation helpful? Give feedback.
-
Closing this since should be fixed by #14147 released in v3.4.9. Thanks for the report!! |
Beta Was this translation helpful? Give feedback.
This is a false positive in your case,
vendor
is thenode_modules
equivalent in PHP projects but we should probably find a way to not warn if it doesn’t actually look like a real PHP vendor directory.