Skip to content
Snippets Groups Projects
Commit 959d92a8 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

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).
parent 86006ba3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment