mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fixes/notes related to slashes in remote paths.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user