diff options
| author | Jack Nagel | 2014-07-13 19:29:36 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-07-13 19:29:36 -0500 | 
| commit | 08891e77b649c6a6c50a126a70631a77b99bcc05 (patch) | |
| tree | 61e1521642acba6288952d3f1e60282f68f43a77 /Library/Homebrew/bottles.rb | |
| parent | 272cb4db26fb896ac175507c4698e8d715b9c93c (diff) | |
| download | brew-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.
Diffstat (limited to 'Library/Homebrew/bottles.rb')
| -rw-r--r-- | Library/Homebrew/bottles.rb | 2 | 
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  | 
