1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

Update thefuck/rules/brew_cask_reinstall.py

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
Pavlos Vinieratos 2019-12-02 16:26:32 +01:00 committed by GitHub
parent 34714dc6ec
commit 1a5a5b6802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ from thefuck.utils import for_app
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)