#682: Unify work with output in classic and instant mode
This commit is contained in:
@@ -3,7 +3,7 @@ from thefuck.utils import for_app
|
||||
|
||||
@for_app('grep')
|
||||
def match(command):
|
||||
return 'is a directory' in command.stderr.lower()
|
||||
return 'is a directory' in command.output.lower()
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
|
||||
Reference in New Issue
Block a user