From 543f2a68e9c9fbda3e75f4c4883fef1248cb83f9 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 22 Mar 2014 13:16:16 -0500 Subject: Don't send, just call the method directly --- Library/Homebrew/cmd/cleanup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3