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
parent 5187c7fcd7
commit 4ff9a68a4b

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']