Autofix Rubocop Style/StringLiterals (#23695)

This commit is contained in:
Nick Schonning
2023-02-18 17:38:14 -05:00
committed by GitHub
parent ac3561098e
commit 81ad6c2e39
76 changed files with 277 additions and 359 deletions

View File

@@ -49,7 +49,7 @@ module Mastodon
next if filename.start_with?('._')
shortcode = [options[:prefix], filename, options[:suffix]].compact.join
custom_emoji = CustomEmoji.local.find_by("LOWER(shortcode) = ?", shortcode.downcase)
custom_emoji = CustomEmoji.local.find_by('LOWER(shortcode) = ?', shortcode.downcase)
if custom_emoji && !options[:overwrite]
skipped += 1