aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index c007ac6c0..b068436ee 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -698,11 +698,7 @@ private
@build ||= BuildOptions.new(ARGV.options_only)
end
- def url val=nil, specs={}
- if val.nil?
- return @stable.url if @stable
- return @url if @url
- end
+ def url val, specs={}
@stable ||= SoftwareSpec.new
@stable.url(val, specs)
end