coco
coco copied to clipboard
exclusion not working correctly with hidden dirs?
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!
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…
Workaround:
:exclude:
- '.gems'
So it works? ¯_(ツ)_/¯
It does, but I think this deserves a note in the docs, as it has to be between quotes