mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Fixes/notes related to slashes in remote paths.
This commit is contained in:
parent
4991c77479
commit
21ba529fbe
6 changed files with 16 additions and 9 deletions
|
@ -59,7 +59,7 @@ class ActionModule(object):
|
|||
source = os.path.expanduser(source)
|
||||
|
||||
if flat:
|
||||
if dest.endswith("/"): # CCTODO
|
||||
if dest.endswith("/"): # CCTODO: Fix path for Windows hosts.
|
||||
# if the path ends with "/", we'll use the source filename as the
|
||||
# destination filename
|
||||
base = os.path.basename(source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue