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