test-bot: rename variable to avoid shadowing.
Closes Homebrew/homebrew#37487. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
fb99393422
commit
5206a2523e
@ -786,9 +786,9 @@ module Homebrew
|
||||
any_errors = false
|
||||
if ARGV.named.empty?
|
||||
# With no arguments just build the most recent commit.
|
||||
test = Test.new('HEAD', tap)
|
||||
any_errors = !test.run
|
||||
tests << test
|
||||
head_test = Test.new('HEAD', tap)
|
||||
any_errors = !head_test.run
|
||||
tests << head_test
|
||||
else
|
||||
ARGV.named.each do |argument|
|
||||
test_error = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user