Skip to content

Commit 86a09ab

Browse files
authored
Merge pull request #54 from koic/specify_unset_nil_to_config_loader_merge_with_default
Specify `unset_nil: false` to `ConfigLoader.merge_with_default`
2 parents ab3537a + 998ce23 commit 86a09ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/rails/inject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.defaults!
1010
hash = ConfigLoader.send(:load_yaml_configuration, path)
1111
config = Config.new(hash, path)
1212
puts "configuration from #{path}" if ConfigLoader.debug?
13-
config = ConfigLoader.merge_with_default(config, path)
13+
config = ConfigLoader.merge_with_default(config, path, unset_nil: false)
1414
ConfigLoader.instance_variable_set(:@default_configuration, config)
1515
end
1616
end

0 commit comments

Comments
 (0)