mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 09:39:01 +00:00
Update thefuck/rules/brew_cask_reinstall.py
Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
parent
34714dc6ec
commit
1a5a5b6802
@ -3,7 +3,7 @@ from thefuck.utils import for_app
|
|||||||
|
|
||||||
|
|
||||||
warning_regex = re.compile(r'Warning: Cask \'(?:.(?!is ))+\' is already installed.\n\n')
|
warning_regex = re.compile(r'Warning: Cask \'(?:.(?!is ))+\' is already installed.\n\n')
|
||||||
message_regex = re.compile(r'To re-install (?:(?!, ).)+, run\n `brew cask reinstall [^`]+`')
|
message_regex = re.compile(r'To re-install (?:(?!, ).)+, run:\n brew cask reinstall [^\n]+')
|
||||||
|
|
||||||
|
|
||||||
@for_app('brew', at_least=2)
|
@for_app('brew', at_least=2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user