1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Use expanduser to deal with path in bower module

So bower module can correctly handle path containing `~`
This commit is contained in:
QuantumGhost 2015-05-23 00:11:50 +08:00 committed by Matt Clay
parent a7b46316c1
commit b67e4a19ab

View file

@ -154,7 +154,7 @@ def main():
name = module.params['name']
offline = module.params['offline']
path = module.params['path']
path = os.path.expanduser(module.params['path'])
state = module.params['state']
version = module.params['version']