formula_installer: remove duplicated hold_locks check
It'll be checked inside `FormulaInstaller#unlock` method. Closes Homebrew/homebrew#41820. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
5d5f01f35b
commit
05c0fcb5ee
@ -404,7 +404,7 @@ class FormulaInstaller
|
||||
ohai "Summary" if verbose? or show_summary_heading?
|
||||
puts summary
|
||||
ensure
|
||||
unlock if hold_locks?
|
||||
unlock
|
||||
end
|
||||
|
||||
def emoji
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user