diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb index 844e954f69..64c7acba34 100755 --- a/Library/Contributions/cmds/brew-test-bot.rb +++ b/Library/Contributions/cmds/brew-test-bot.rb @@ -211,7 +211,8 @@ class Test def cleanup @category = __method__ - if ARGV.include? "--clean" + if ARGV.include? "--cleanup" + test "git fetch origin" test "git reset --hard origin/master" test "git clean --force -dx" else