brew-test-bot: always repair taps when tapping.

This commit is contained in:
Mike McQuaid 2014-10-17 09:28:01 +01:00
parent fc39dbf2d4
commit ecc09cee7e

View File

@ -154,7 +154,13 @@ module Homebrew
# Tap repository if required, this is done before everything else
# because Formula parsing and/or git commit hash lookup depends on it.
test "brew", "tap", @tap if @tap && @repository_requires_tapping
if @tap
if @repository_requires_tapping
test "brew", "tap", @tap
else
test "brew", "tap", "--repair"
end
end
begin
formula = Formulary.factory(argument)