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).
This commit is contained in:
parent
86006ba36b
commit
959d92a84a
@ -543,8 +543,8 @@ module Homebrew
|
|||||||
|
|
||||||
checkout_args = []
|
checkout_args = []
|
||||||
if ARGV.include? '--cleanup'
|
if ARGV.include? '--cleanup'
|
||||||
test "git", "clean", "-fdx"
|
git "clean", "-fdx"
|
||||||
test "git", "clean", "-ffdx" if steps.last.failed?
|
test "git", "clean", "-ffdx" unless $?.success?
|
||||||
checkout_args << "-f"
|
checkout_args << "-f"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user