aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-03-24 09:13:42 +0000
committerMike McQuaid2015-03-24 09:13:42 +0000
commit959d92a84a333343cd441dd471a8ab01af5c465a (patch)
treedc91aac9db5f4db287db16134694eb141e740d1b /Library
parent86006ba36b8a40b6603bb259d40f88c89272ddc1 (diff)
downloadbrew-959d92a84a333343cd441dd471a8ab01af5c465a.tar.bz2
test-bot: first git clean should not be a test.
We don't care if it fails as we'll immediately run a stronger version afterwards (and we care if that fails).
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index b0d90ec5e..d41bd4d70 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -543,8 +543,8 @@ module Homebrew
checkout_args = []
if ARGV.include? '--cleanup'
- test "git", "clean", "-fdx"
- test "git", "clean", "-ffdx" if steps.last.failed?
+ git "clean", "-fdx"
+ test "git", "clean", "-ffdx" unless $?.success?
checkout_args << "-f"
end