mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
removed useless redefined of path variable (#1023)
This commit is contained in:
parent
60073bea78
commit
25c858c13e
@ -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