Update rubocop to version 1.79.2 (#35688)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-08-06 08:42:53 +00:00
1 parent a4c05c694f
commit 4c2ddbf2c4
5 files changed
+11 -13

No files matched your search

+1 -3
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]