2
0

Fix Style/MutableConstant cop (#33602)

This commit is contained in:
Matt Jankowski
2025-01-16 04:09:06 -05:00
committed by GitHub
parent 998cf0dd53
commit 3db8498903
4 changed files with 6 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ module Mastodon
module MigrationWarning
WARNING_SECONDS = 10
DEFAULT_WARNING = <<~WARNING_MESSAGE
DEFAULT_WARNING = <<~WARNING_MESSAGE.freeze
WARNING: This migration may take a *long* time for large instances.
It will *not* lock tables for any significant time, but it may run
for a very long time. We will pause for #{WARNING_SECONDS} seconds to allow you to