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
|
any_errors = false
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
# With no arguments just build the most recent commit.
|
# With no arguments just build the most recent commit.
|
||||||
test = Test.new('HEAD', tap)
|
head_test = Test.new('HEAD', tap)
|
||||||
any_errors = !test.run
|
any_errors = !head_test.run
|
||||||
tests << test
|
tests << head_test
|
||||||
else
|
else
|
||||||
ARGV.named.each do |argument|
|
ARGV.named.each do |argument|
|
||||||
test_error = false
|
test_error = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user