#N/A: Update cargo_no_command rule to support current Cargo
This commit is contained in:
@@ -4,7 +4,7 @@ from thefuck.utils import replace_argument, for_app
|
||||
|
||||
@for_app('cargo', at_least=1)
|
||||
def match(command):
|
||||
return ('No such subcommand' in command.stderr
|
||||
return ('o such subcommand' in command.stderr
|
||||
and 'Did you mean' in command.stderr)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user