aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorXu Cheng2015-07-17 16:08:49 +0800
committerXu Cheng2015-07-18 13:59:52 +0800
commit05c0fcb5eeeb696e2b9d0aaea1095f83cffa64b5 (patch)
treefb675f49879c0939892c5614d220e4fd38c1a5b9 /Library/Homebrew
parent5d5f01f35b6b08afdfaf14cc57256a6111431c9b (diff)
downloadbrew-05c0fcb5eeeb696e2b9d0aaea1095f83cffa64b5.tar.bz2
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>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 0ab33d2b4..23f920d23 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