aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index ad679b7ec..e3ef8924d 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -647,7 +647,7 @@ module Homebrew
git "rebase", "--abort"
git "reset", "--hard"
git "checkout", "-f", "master"
- git "clean", "-ffdx"
+ git "clean", "-ffdx" unless ENV["HOMEBREW_RUBY_PATH"]
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
Dir.glob(pr_locks) { |lock| FileUtils.rm_rf lock }
end