mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
Update rubocop to version 1.79.0 (#35502)
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user