mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
removed useless redefined of path variable
This commit is contained in:
parent
d10fc80fa5
commit
3e8877cdba
@ -9,6 +9,6 @@ def match(command):
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
path = path = re.findall(
|
||||
path = re.findall(
|
||||
r"touch: (?:cannot touch ')?(.+)/.+'?:", command.output)[0]
|
||||
return shell.and_(u'mkdir -p {}'.format(path), command.script)
|
||||
|
Loading…
x
Reference in New Issue
Block a user