mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-19 01:00:42 +01: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
|
skip += 1
|
||||||
script_parts = command.script_parts[skip:]
|
script_parts = command.script_parts[skip:]
|
||||||
return [
|
return [
|
||||||
' '.join(['npx', e, *script_parts])
|
' '.join(['npx', e] + script_parts)
|
||||||
for e in get_matching_npm_executables_in_cd(command)
|
for e in get_matching_npm_executables_in_cd(command)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user