1
0
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:
Kartik Soneji 2020-07-20 05:18:14 +05:30
parent 910c1ead32
commit e7232a437c

View File

@ -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)
]