about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-07 20:36:20 -0500
committerGitHub <noreply@github.com>2023-02-08 02:36:20 +0100
commit203739dd3adbfccf96c237bd8f4cf9cefc67ff94 (patch)
treee17324e372fd6cc766b205db58bd2b9ecee22778 /lib
parent2e652aa81c22c802e4571e6cfa443319cb862614 (diff)
Apply Rubocop Performance/StringIdentifierArgument (#23444)
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/statuses_cli.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mastodon/statuses_cli.rb b/lib/mastodon/statuses_cli.rb
index d4c2e6cf2..baab83e29 100644
--- a/lib/mastodon/statuses_cli.rb
+++ b/lib/mastodon/statuses_cli.rb
@@ -93,7 +93,7 @@ module Mastodon
         c.table_name = 'statuses_to_be_deleted'
       end
 
-      Object.const_set('StatusToBeDeleted', klass)
+      Object.const_set(:StatusToBeDeleted, klass)
 
       scope     = StatusToBeDeleted
       processed = 0
@@ -175,7 +175,7 @@ module Mastodon
         c.table_name = 'conversations_to_be_deleted'
       end
 
-      Object.const_set('ConversationsToBeDeleted', klass)
+      Object.const_set(:ConversationsToBeDeleted, klass)
 
       scope     = ConversationsToBeDeleted
       processed = 0