mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
powershell: do not quote join_path result to reflect ShellBase join_path (#45944)
This commit is contained in:
parent
ce515a626c
commit
198423d6fb
3 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue