test-bot: clean up harder on failure (before).

This commit is contained in:
Mike McQuaid 2014-12-29 07:51:50 +00:00
parent e651e7662a
commit bff259330c

View File

@ -476,7 +476,7 @@ module Homebrew
git "reset", "--hard"
git "checkout", "-f", "master"
git "clean", "-fdx"
# TODO: on failure rerun with: -ffdx
git "clean", "-ffdx" unless $?.success?
end
def cleanup_after