1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-10-30 22:54:14 +00: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

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):