mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Removes usage of expanduser due to type 'path'
Removes the usage of the expanduser function because it is being performed automatically by the type 'path' of the path option.
This commit is contained in:
@@ -288,7 +288,7 @@ def main():
|
||||
supports_check_mode = True
|
||||
)
|
||||
|
||||
path = os.path.expanduser(module.params['path'])
|
||||
path = module.params['path']
|
||||
section = module.params['section']
|
||||
option = module.params['option']
|
||||
value = module.params['value']
|
||||
|
||||
Reference in New Issue
Block a user