Skip to content
Snippets Groups Projects
Commit eca31da2 authored by Brent Fitzgerald's avatar Brent Fitzgerald Committed by Adam Vandenberg
Browse files

Getting rid of pesky 'warning: parenthesize argument(s) for future version'

parent 353d9561
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class SoftwareSpecification
# Returns a suitable DownloadStrategy class that can be
# used to retreive this software package.
def download_strategy
return detect_download_strategy @url if @using.nil?
return detect_download_strategy(@url) if @using.nil?
# If a class is passed, assume it is a download strategy
return @using if @using.kind_of? Class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment