@wndhydrnt The point of the first couple of lines in `file_to_exclude?` is to ensure that `file` is an absolute path. The input argument can be either absolute or relative. The strange thing is that `File.expand_path` provides exactly this functionality, so why we mess about with `File.join`, I don't know. All specs still pass if I remove the line
```ruby
file = File.join(Dir.pwd, file) unless file.start_with?('/')
```
on master.

So I think that just keeping `file = File.expand_path(file)` without any conditions should work. It seems to work on Linux. Does it work on Windows too?

BTW, there should be some testing of relative paths as arguments to `file_to_exclude?` in `config_spec.rb`. Great if you could add that, @wndhydrnt.