test-bot: add missing @tap check.

This commit is contained in:
Mike McQuaid 2016-09-04 11:04:36 +01:00
parent f19ad51734
commit d8a2a90dac

View File

@ -671,7 +671,7 @@ module Homebrew
# test no-op update from current commit (to current commit, a no-op). # test no-op update from current commit (to current commit, a no-op).
test "brew", "update-test", "--commit=HEAD" test "brew", "update-test", "--commit=HEAD"
end end
else elsif @tap
test "brew", "readall", "--aliases", @tap.name test "brew", "readall", "--aliases", @tap.name
end end
end end