aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-07-13 19:29:36 -0500
committerJack Nagel2014-07-13 19:29:36 -0500
commit05bd7fc8c31e4c31866d9e5c1970608a16386e4c (patch)
treec6482956eaa07704b1d64bd2d957c8ed6bc26cef /Library/Homebrew
parentb7eca3769aaac380ed33869d23754dbb46da2864 (diff)
downloadhomebrew-05bd7fc8c31e4c31866d9e5c1970608a16386e4c.tar.bz2
Remove default value from bottle_url options parameter
To construct a URL, we need options to pass to bottle_filename, so this method should error out if none are given.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/bottles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 2a2610759..d9323054d 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -34,7 +34,7 @@ def bottle_native_regex
/(\.#{bottle_tag}\.bottle\.(\d+\.)?tar\.gz)$/o
end
-def bottle_url(root_url, filename_options={})
+def bottle_url(root_url, filename_options)
"#{root_url}/#{bottle_filename(filename_options)}"
end