mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Merge pull request #14930 from mholiv/enable_dollar_as_first_char_in_folder_and_userName
Modified files to use single quotes rather than double for file path.…
This commit is contained in:
commit
afc82f6beb
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ class ShellModule(object):
|
|||
path = '\\'.join(parts)
|
||||
if path.startswith('~'):
|
||||
return path
|
||||
return '"%s"' % path
|
||||
return '\'%s\'' % path
|
||||
|
||||
# powershell requires that script files end with .ps1
|
||||
def get_remote_filename(self, base_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue