Fix RuboCop Lint/RedundantDirGlobSort
offenses
This commit is contained in:
parent
e9cb65bfba
commit
c86a402110
@ -462,8 +462,6 @@ Style/WordArray:
|
||||
MinSize: 4
|
||||
|
||||
# TODO: Enable these cops once https://github.com/Homebrew/brew/pull/16337#issuecomment-1855668516 is done.
|
||||
Lint/RedundantDirGlobSort:
|
||||
Enabled: false
|
||||
Naming/BlockForwarding:
|
||||
Enabled: false
|
||||
Performance/BindCall:
|
||||
|
@ -83,7 +83,7 @@ module Homebrew
|
||||
|
||||
other_taps.each_value do |tap|
|
||||
tap_strategy_path = "#{tap.path}/livecheck/strategy"
|
||||
Dir["#{tap_strategy_path}/*.rb"].sort.each { require(_1) } if Dir.exist?(tap_strategy_path)
|
||||
Dir["#{tap_strategy_path}/*.rb"].each { require(_1) } if Dir.exist?(tap_strategy_path)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user