mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
powershell: do not quote join_path result to reflect ShellBase join_path (#45944)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user