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:
Xu Cheng 2015-07-17 16:08:49 +08:00
parent 5d5f01f35b
commit 05c0fcb5ee

View File

@ -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