-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
"exclude" with glob does not exclude folders #12750
Labels
Milestone
Comments
use |
@mhegazy Thanks! |
Created this #12824 to find out which behaviour is consistent and it should be documented carefully. |
@rbuckton We've seen a number of reports of this issue on the VSCode side. I'm planning to update our documentation to use the Can we please look into this for TS 2.5 as well |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
TypeScript Version: 2.1.4 / nightly (2.2.0-dev.20161208)
Steps to reproduce:
@next
)tsconfig.json
"exclude"
totsconfig.json
like this:Expected behavior:
Compile successfully.
Actual behavior:
A lot of errors in
node_modules/typescript
folderThe same source code compiles fine on TypeScript 2.1.1.
More tests:
If I change
"exclude"
to["node_modules"]
the compilation passes without errors. But if I place"node_modules"
in a sub-folder it is not excluded neither by["node_modules"]
nor by["**/node_modules"]
and it leads to errors during the compilation.The text was updated successfully, but these errors were encountered: