1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

Merge branch 'patch-1' of https://github.com/matthewfallshaw/thefuck into matthewfallshaw-patch-1

This commit is contained in:
Vladimir Iakovlev 2017-10-15 16:32:57 +02:00
commit 8a4f37edb3

View File

@ -5,7 +5,8 @@ from thefuck.utils import for_app
def match(command):
return ('update' in command.script
and "Error: This command updates brew itself" in command.output
and "Use 'brew upgrade <formula>'" in command.output)
and "Use 'brew upgrade" in command.output
and "instead" in command.output)
def get_new_command(command):