mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#N/A: Fix deprecation warnings
This commit is contained in:
		| @@ -6,7 +6,7 @@ from thefuck.specific.brew import brew_available | |||||||
| @for_app('brew') | @for_app('brew') | ||||||
| def match(command): | def match(command): | ||||||
|     return (u'install' in command.script_parts |     return (u'install' in command.script_parts | ||||||
|             and u'brew cask install' in command.stderr) |             and u'brew cask install' in command.output) | ||||||
|  |  | ||||||
|  |  | ||||||
| @eager | @eager | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ from thefuck.utils import eager, get_closest, for_app | |||||||
|  |  | ||||||
| @for_app('fab') | @for_app('fab') | ||||||
| def match(command): | def match(command): | ||||||
|     return 'Warning: Command(s) not found:' in command.stderr |     return 'Warning: Command(s) not found:' in command.output | ||||||
|  |  | ||||||
|  |  | ||||||
| # We need different behavior then in get_all_matched_commands. | # We need different behavior then in get_all_matched_commands. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user