mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
#N/A: Fix deprecation warnings
This commit is contained in:
parent
10a4e910e9
commit
a566e040f7
@ -16,7 +16,7 @@ def _isdir(part):
|
||||
@for_app('prove')
|
||||
def match(command):
|
||||
return (
|
||||
'NOTESTS' in command.stdout
|
||||
'NOTESTS' in command.output
|
||||
and not any(_is_recursive(part) for part in command.script_parts[1:])
|
||||
and any(_isdir(part) for part in command.script_parts[1:]))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user