Fix RuboCop Lint/RedundantDirGlobSort
offenses
This commit is contained in:
parent
e9cb65bfba
commit
c86a402110
@ -462,8 +462,6 @@ Style/WordArray:
|
|||||||
MinSize: 4
|
MinSize: 4
|
||||||
|
|
||||||
# TODO: Enable these cops once https://github.com/Homebrew/brew/pull/16337#issuecomment-1855668516 is done.
|
# TODO: Enable these cops once https://github.com/Homebrew/brew/pull/16337#issuecomment-1855668516 is done.
|
||||||
Lint/RedundantDirGlobSort:
|
|
||||||
Enabled: false
|
|
||||||
Naming/BlockForwarding:
|
Naming/BlockForwarding:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Performance/BindCall:
|
Performance/BindCall:
|
||||||
|
@ -83,7 +83,7 @@ module Homebrew
|
|||||||
|
|
||||||
other_taps.each_value do |tap|
|
other_taps.each_value do |tap|
|
||||||
tap_strategy_path = "#{tap.path}/livecheck/strategy"
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user