1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-07 05:31:18 +00:00

sry edit is false

This commit is contained in:
spidermanir 2019-10-05 00:17:43 +03:30
parent 8ff2336293
commit 46439e0ee4

View File

@ -30,11 +30,8 @@ def _get_operations():
@sudo_support
def get_new_command(command):
if misspelled_command == 'uninstall':
return [command.script.replace('uninstall','remove')
else:
misspelled_command = regex.findall(command.output)[0]
return replace_command(command, misspelled_command, _get_operations())
misspelled_command = regex.findall(command.output)[0]
return replace_command(command, misspelled_command, _get_operations())
enabled_by_default = dnf_available