2
0

Update rubocop to version 1.79.2 (#35688)

This commit is contained in:
Matt Jankowski
2025-08-06 04:42:53 -04:00
committed by GitHub
parent a4c05c694f
commit 4c2ddbf2c4
5 changed files with 11 additions and 13 deletions

View File

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