aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-07-14 10:57:12 +0100
committerMike McQuaid2016-07-14 10:57:12 +0100
commit9aa4362eb4cbc1fb3f02ba73f94cec5f01c21f4c (patch)
treeb57607c2cdacac1d201a9c050fe2048a0addba38 /Library
parent84c12f9eb180b6a3b2b0306ea2259b46c2d65a46 (diff)
downloadbrew-9aa4362eb4cbc1fb3f02ba73f94cec5f01c21f4c.tar.bz2
test-bot: fix --no-pull flag.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index 383620be8..52eb47cce 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -355,7 +355,7 @@ module Homebrew
elsif @url
# TODO: in future Travis CI may need to also use `brew pull` to e.g. push
# the right commit to BrewTestBot.
- if !travis_pr || !ARGV.include?("--no-pull")
+ if !travis_pr && !ARGV.include?("--no-pull")
diff_start_sha1 = current_sha1
test "brew", "pull", "--clean", @url
diff_end_sha1 = current_sha1