From 5206a2523e1b30f830f5cfffbd9965fefebf6fed Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 7 Mar 2015 15:36:07 +0000 Subject: test-bot: rename variable to avoid shadowing. Closes Homebrew/homebrew#37487. Signed-off-by: Mike McQuaid --- Library/Homebrew/cmd/test-bot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 4e339fe65..2a50de918 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -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 -- cgit v1.2.3