mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
Merge branch 'patch-1' of https://github.com/matthewfallshaw/thefuck into matthewfallshaw-patch-1
This commit is contained in:
commit
8a4f37edb3
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user