mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Remove expanduser usage because of path type
With the addition of the 'path' type, the usage of expanduser is redundant. This patch removes that extra usage.
This commit is contained in:
@@ -781,8 +781,8 @@ def main():
|
||||
supports_check_mode = True,
|
||||
)
|
||||
|
||||
src = os.path.expanduser(module.params['src'])
|
||||
dest = os.path.expanduser(module.params['dest'])
|
||||
src = module.params['src']
|
||||
dest = module.params['dest']
|
||||
copy = module.params['copy']
|
||||
remote_src = module.params['remote_src']
|
||||
file_args = module.load_file_common_arguments(module.params)
|
||||
|
||||
Reference in New Issue
Block a user