removing unnecessary .to_s
This commit is contained in:
parent
9594a56879
commit
a0f30934aa
@ -585,7 +585,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
|
|||||||
args << url
|
args << url
|
||||||
args << target
|
args << target
|
||||||
elsif svncommand == "update"
|
elsif svncommand == "update"
|
||||||
args << svn_escape(target.to_s)
|
args << svn_escape(target)
|
||||||
end
|
end
|
||||||
if revision
|
if revision
|
||||||
ohai "Checking out #{@ref}"
|
ohai "Checking out #{@ref}"
|
||||||
|
|||||||
@ -24,8 +24,7 @@ module UnpackStrategy
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_to_dir(unpack_dir, basename:, verbose:)
|
def extract_to_dir(unpack_dir, basename:, verbose:)
|
||||||
path_export = svn_escape(path.to_s)
|
system_command! "svn", args: ["export", "--force", svn_escape(path), unpack_dir]
|
||||||
system_command! "svn", args: ["export", "--force", path_export, unpack_dir]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user