mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Update rubocop to version 1.79.2 (#35688)
This commit is contained in:
parent
a4c05c694f
commit
4c2ddbf2c4
5 changed files with 11 additions and 13 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue