mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
#322: Use unicode in vagrant_up
rule
This commit is contained in:
parent
971c7e1b3f
commit
825f7986c7
@ -13,8 +13,9 @@ def get_new_command(command):
|
|||||||
if len(cmds) >= 3:
|
if len(cmds) >= 3:
|
||||||
machine = cmds[2]
|
machine = cmds[2]
|
||||||
|
|
||||||
startAllInstances = shell.and_("vagrant up", command.script)
|
start_all_instances = shell.and_(u"vagrant up", command.script)
|
||||||
if machine is None:
|
if machine is None:
|
||||||
return startAllInstances
|
return start_all_instances
|
||||||
else:
|
else:
|
||||||
return [shell.and_("vagrant up " + machine, command.script), startAllInstances]
|
return [shell.and_(u"vagrant up {}".format(machine), command.script),
|
||||||
|
start_all_instances]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user