test-bot: fix --no-pull flag.
This commit is contained in:
parent
84c12f9eb1
commit
9aa4362eb4
@ -355,7 +355,7 @@ module Homebrew
|
|||||||
elsif @url
|
elsif @url
|
||||||
# TODO: in future Travis CI may need to also use `brew pull` to e.g. push
|
# TODO: in future Travis CI may need to also use `brew pull` to e.g. push
|
||||||
# the right commit to BrewTestBot.
|
# the right commit to BrewTestBot.
|
||||||
if !travis_pr || !ARGV.include?("--no-pull")
|
if !travis_pr && !ARGV.include?("--no-pull")
|
||||||
diff_start_sha1 = current_sha1
|
diff_start_sha1 = current_sha1
|
||||||
test "brew", "pull", "--clean", @url
|
test "brew", "pull", "--clean", @url
|
||||||
diff_end_sha1 = current_sha1
|
diff_end_sha1 = current_sha1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user