Skip to content

Commit 2c00726

Browse files
committed
Avoid unnecessary send
1 parent 074bd2a commit 2c00726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/performance/inject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Performance
77
module Inject
88
def self.defaults!
99
path = CONFIG_DEFAULT.to_s
10-
hash = ConfigLoader.send(:load_yaml_configuration, path)
10+
hash = ConfigLoader.load_yaml_configuration(path)
1111
config = Config.new(hash, path).tap(&:make_excludes_absolute)
1212
puts "configuration from #{path}" if ConfigLoader.debug?
1313
config = ConfigLoader.merge_with_default(config, path)

0 commit comments

Comments
 (0)