Skip to content

Commit

Permalink
Enable to work Exclude in AllCops section
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jan 26, 2020
1 parent 02260ab commit a679949
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## master (unreleased)

### Bug fixes

* [#48](https://github.com/rubocop-hq/rubocop-minitest/pull/48): Enable to work `Exclude` in AllCops section. ([@koic][])

## 0.5.1 (2019-12-25)

* [#42](https://github.com/rubocop-hq/rubocop-minitest/issues/42): Fix an incorrect autocorrect for some cops of `Minitest` department when using heredoc message. ([@koic][])
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/minitest/inject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Inject
def self.defaults!
path = CONFIG_DEFAULT.to_s
hash = ConfigLoader.send(:load_yaml_configuration, path)
config = Config.new(hash, path)
config = Config.new(hash, path).tap(&:make_excludes_absolute)
puts "configuration from #{path}" if ConfigLoader.debug?
config = ConfigLoader.merge_with_default(config, path)
ConfigLoader.instance_variable_set(:@default_configuration, config)
Expand Down

0 comments on commit a679949

Please sign in to comment.