mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Removes expanduser calls
The usage of type='path' includes the expanduser call itself. This patch removes its duplicate usage. Related to #12263
This commit is contained in:
parent
f95a11a9db
commit
888c8614fb
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ def main():
|
||||||
)
|
)
|
||||||
|
|
||||||
params = module.params
|
params = module.params
|
||||||
path = os.path.expanduser(params['path'])
|
path = params['path']
|
||||||
res_args = dict()
|
res_args = dict()
|
||||||
|
|
||||||
if os.path.isdir(path):
|
if os.path.isdir(path):
|
||||||
|
|
Loading…
Reference in a new issue