From 05c0fcb5eeeb696e2b9d0aaea1095f83cffa64b5 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 17 Jul 2015 16:08:49 +0800 Subject: [PATCH] formula_installer: remove duplicated hold_locks check It'll be checked inside `FormulaInstaller#unlock` method. Closes Homebrew/homebrew#41820. Signed-off-by: Xu Cheng --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 0ab33d2b40..23f920d238 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -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