2
0

Update rubocop to version 1.79.0 (#35502)

This commit is contained in:
Matt Jankowski
2025-07-25 03:22:05 -04:00
committed by GitHub
parent 960f693219
commit 2e35defeec
10 changed files with 16 additions and 4 deletions

View File

@@ -45,7 +45,9 @@ class EmojiFormatter
i += 1
if inside_shortname && text[i] == ':'
inside_shortname = false
# https://github.com/rubocop/rubocop/issues/14383
# False positive in line below, remove disable when resolved
inside_shortname = false # rubocop:disable Lint/UselessAssignment
shortcode = text[(shortname_start_index + 1)..(i - 1)]
char_after = text[i + 1]