aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/cleanup.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-22 13:16:16 -0500
committerJack Nagel2014-03-22 13:16:16 -0500
commitfee242512e14c0a5b6d5364eaf7f31563b3723d8 (patch)
tree2e57bbf20d12eede1907157e593d7a01db06f53e /Library/Homebrew/cmd/cleanup.rb
parent038f99d502b95345742253ff6b50be257da2c1c7 (diff)
downloadhomebrew-fee242512e14c0a5b6d5364eaf7f31563b3723d8.tar.bz2
Don't send, just call the method directly
Diffstat (limited to 'Library/Homebrew/cmd/cleanup.rb')
-rw-r--r--Library/Homebrew/cmd/cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb
index 69b55ddd0..732883e1a 100644
--- a/Library/Homebrew/cmd/cleanup.rb
+++ b/Library/Homebrew/cmd/cleanup.rb
@@ -114,7 +114,7 @@ class Formula
select{ |ff| ff.deps.map{ |d| d.to_s }.include? name }.
map{ |ff| ff.rack.subdirs rescue [] }.
flatten.
- map{ |keg_path| Tab.for_keg(keg_path).send("HEAD") }.
+ map{ |keg_path| Tab.for_keg(keg_path).HEAD }.
include? nil
end
end