mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix for error trying to install cask with '@' in the name (#763)
* Fix for casks with @ in the name * Add changelog fragment * Update changelogs/fragments/homebrew-cask-at-symbol-fix.yaml Period required at the end of changelog entry Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Use double backticks Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
parent
6ff6cc96d5
commit
8f2b2d9dc6
2 changed files with 3 additions and 0 deletions
2
changelogs/fragments/homebrew-cask-at-symbol-fix.yaml
Normal file
2
changelogs/fragments/homebrew-cask-at-symbol-fix.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- homebrew_cask - fixed issue where a cask with ``@`` in the name is incorrectly reported as invalid (https://github.com/ansible-collections/community.general/issues/733).
|
|
@ -186,6 +186,7 @@ class HomebrewCask(object):
|
||||||
. # dots
|
. # dots
|
||||||
/ # slash (for taps)
|
/ # slash (for taps)
|
||||||
- # dashes
|
- # dashes
|
||||||
|
@ # at symbol
|
||||||
'''
|
'''
|
||||||
|
|
||||||
INVALID_PATH_REGEX = _create_regex_group(VALID_PATH_CHARS)
|
INVALID_PATH_REGEX = _create_regex_group(VALID_PATH_CHARS)
|
||||||
|
|
Loading…
Reference in a new issue