#682: Unify work with output in classic and instant mode

This commit is contained in:
Vladimir Iakovlev
2017-08-31 17:58:56 +02:00
parent 96843fc6cd
commit 4625d8503d
237 changed files with 1322 additions and 1332 deletions
+1 -1
View File
@@ -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):