test-bot: fix ambiguous arguments.

This commit is contained in:
Mike McQuaid 2015-03-07 15:35:43 +00:00
parent 36b7bae93c
commit fb99393422

View File

@ -617,7 +617,7 @@ module Homebrew
tap ||= bot_argv.value('tap')
end
tap.gsub! /homebrew\/homebrew-/i, "Homebrew/" if tap
tap.gsub!(/homebrew\/homebrew-/i, "Homebrew/") if tap
git_url = ENV['UPSTREAM_GIT_URL'] || ENV['GIT_URL']
if !tap && git_url