From d2a44869f0b49f210c42bfe12787fa215a6c150e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 10 Dec 2015 10:41:10 +0000 Subject: test-bot: remove dead code. --- Library/Homebrew/cmd/test-bot.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 2c5ef7f7f..222df08ff 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -52,16 +52,6 @@ module Homebrew end end - if git_url = ENV["UPSTREAM_GIT_URL"] || ENV["GIT_URL"] - # Also can get tap from Jenkins GIT_URL. - url_path = git_url.sub(%r{^https?://github\.com/}, "").chomp("/") - begin - tap = Tap.fetch(tap) - return tap unless tap.core_formula_repository? - rescue - end - end - # return nil means we are testing core repo. end -- cgit v1.2.3