diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index c57c39764..38b4f686d 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -475,7 +475,8 @@ module Homebrew git "rebase", "--abort" git "reset", "--hard" git "checkout", "-f", "master" - git "clean", "--force", "-dx" + git "clean", "-fdx" + # TODO: on failure rerun with: -ffdx end def cleanup_after @@ -483,7 +484,8 @@ module Homebrew checkout_args = [] if ARGV.include? '--cleanup' - test "git", "clean", "--force", "-dx" + test "git", "clean", "-fdx" + test "git", "clean", "-ffdx" if steps.last.failed? checkout_args << "-f" end |
