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
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