test-bot: cleanup more locks.
This commit is contained in:
parent
f242381e2a
commit
d05d185d2e
@ -543,7 +543,7 @@ module Homebrew
|
||||
git "checkout", "-f", "master"
|
||||
git "clean", "-fdx"
|
||||
git "clean", "-ffdx" unless $?.success?
|
||||
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/head.lock"
|
||||
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
|
||||
Dir.glob(pr_locks) {|lock| FileUtils.rm_rf lock }
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user