Linguist does not ignore the specified vendor code from stats #5452
-
Describe the bugIn my repo, with
Checked the attribute set if it's set correctly:
When running
However, when I pushed
Expected behaviourVendored code should be excluded from stat for repo as configured in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Here's your problem:
See my comment at #5175 (comment) for more details. If you are expecting to only exclude the files in that directory and not all the sub-directories too (ie you don't want recursion), then how are you determining this isn't taking effect? Can you please also provide a link to your repo so we can see the behaviour you are seeing. Moving this to discussions as this is not a bug. |
Beta Was this translation helpful? Give feedback.
Here's your problem:
*
does not recurse so you'll only be marking the files within that directory as vendored and none of the files in the sub-directories. You need to change this to**
for recursion to apply.See my comment at #5175 (comment) for more details.
If you are expecting to only exclude the files in that directory and not all the sub-directories too (ie you don't want recursion), then how are you determining this isn't taking effect?
Can you please also provide a link to your repo so we can see the behaviour you are seeing.
Moving this to discussions as this is not a bug.