mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
Fix for Python 2.
This commit is contained in:
parent
910c1ead32
commit
e7232a437c
@ -20,7 +20,7 @@ def get_new_command(command):
|
||||
skip += 1
|
||||
script_parts = command.script_parts[skip:]
|
||||
return [
|
||||
' '.join(['npx', e, *script_parts])
|
||||
' '.join(['npx', e] + script_parts)
|
||||
for e in get_matching_npm_executables_in_cd(command)
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user