aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-07-13 19:29:36 -0500
committerJack Nagel2014-07-13 19:29:36 -0500
commit08891e77b649c6a6c50a126a70631a77b99bcc05 (patch)
tree61e1521642acba6288952d3f1e60282f68f43a77
parent272cb4db26fb896ac175507c4698e8d715b9c93c (diff)
downloadbrew-08891e77b649c6a6c50a126a70631a77b99bcc05.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.
-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