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