Simplify substitution
This commit is contained in:
parent
9ed00fc7fa
commit
92cbac7966
@ -452,7 +452,7 @@ end
|
||||
class SubversionDownloadStrategy < VCSDownloadStrategy
|
||||
def initialize(name, resource)
|
||||
super
|
||||
@url = @url.sub(/^svn\+/, "") if @url.start_with?("svn+http://")
|
||||
@url = @url.sub("svn+http://", "")
|
||||
end
|
||||
|
||||
def fetch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user