aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-20 16:18:01 -0500
committerJack Nagel2013-06-20 16:22:55 -0500
commit7cdf400762000a3813e9b66f171fc112949be8ec (patch)
treec359d082ee01c4f5d24ad412819b4091255b985f /Library/Homebrew/formula.rb
parent13cfc013f4deefdcff13976c7388e7125bb06385 (diff)
downloadbrew-7cdf400762000a3813e9b66f171fc112949be8ec.tar.bz2
Splatted parameter is always an array
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 6026f5b6e..b7739a74a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -781,7 +781,7 @@ class Formula
end
def skip_clean *paths
- paths = [paths].flatten
+ paths.flatten!
# :all is deprecated though
if paths.include? :all