coco icon indicating copy to clipboard operation
coco copied to clipboard

exclusion not working correctly with hidden dirs?

Open TiteiKo opened this issue 8 years ago • 4 comments

It might be a configuration problem, or a problem with hidden dirs...

In my CI, the gems are installed in a .gems directory at the root of the project. I can't seem to be able to exclude that directory...

For example, I get the following:

6% /builds/golf/site/.gems/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/core_ext/thread.rb

I tried adding .gems and builds/golf/site/.gems to the exclusions, without success...

Any idea would be welcomed!

TiteiKo avatar May 11 '16 08:05 TiteiKo

Because I never thought about this edge case it's quite possible that exclusion doesn't work with hidden dirs :grimacing:

I will set up a new test and I will let you know…

lkdjiin avatar May 11 '16 11:05 lkdjiin

Workaround:

:exclude:
- '.gems'

TiteiKo avatar May 12 '16 15:05 TiteiKo

So it works? ¯_(ツ)_/¯

lkdjiin avatar May 12 '16 16:05 lkdjiin

It does, but I think this deserves a note in the docs, as it has to be between quotes

TiteiKo avatar May 12 '16 16:05 TiteiKo