mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
FormulaInstaller: ensure locks are always released
This commit is contained in:
parent
15626b38ca
commit
28b9790dbd
@ -268,7 +268,7 @@ class FormulaInstaller
|
|||||||
print "#{f.prefix}: #{f.prefix.abv}"
|
print "#{f.prefix}: #{f.prefix.abv}"
|
||||||
print ", built in #{pretty_duration build_time}" if build_time
|
print ", built in #{pretty_duration build_time}" if build_time
|
||||||
puts
|
puts
|
||||||
|
ensure
|
||||||
unlock if hold_locks?
|
unlock if hold_locks?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user