Update Library/Homebrew/rubocops/shared/desc_helper.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Razvan Azamfirei 2023-06-20 11:24:35 -04:00 committed by GitHub
parent c1009247bf
commit a3ee3650cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ module RuboCop
# Check if the desc contains Unicode characters in the So (emojis or other symbols) range. # Check if the desc contains Unicode characters in the So (emojis or other symbols) range.
if regex_match_group(desc, /\p{So}/) if regex_match_group(desc, /\p{So}/)
desc_problem "Description shouldn't contain emojis or Unicode characters in the So range." desc_problem "Description shouldn't contain Unicode emojis or symbols."
end end
# Check if the desc length exceeds maximum length. # Check if the desc length exceeds maximum length.