powershell: do not quote join_path result to reflect ShellBase join_path (#45944)

This commit is contained in:
Jordan Borean 2018-09-21 15:31:12 +10:00 committed by GitHub
parent ce515a626c
commit 198423d6fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -1503,7 +1503,7 @@ class ShellModule(ShellBase):
path = '\\'.join(parts)
if path.startswith('~'):
return path
return '\'%s\'' % path
return path
def get_remote_filename(self, pathname):
# powershell requires that script files end with .ps1