Consistent usage of CLI dry_run?
method (#25116)
This commit is contained in:
parent
3d253b9830
commit
ec9bc7e604
8 changed files with 47 additions and 58 deletions
|
@ -17,7 +17,6 @@ module Mastodon::CLI
|
|||
LONG_DESC
|
||||
def storage_schema
|
||||
progress = create_progress_bar(nil)
|
||||
dry_run = dry_run? ? ' (DRY RUN)' : ''
|
||||
records = 0
|
||||
|
||||
klasses = [
|
||||
|
@ -69,7 +68,7 @@ module Mastodon::CLI
|
|||
progress.total = progress.progress
|
||||
progress.finish
|
||||
|
||||
say("Upgraded storage schema of #{records} records#{dry_run}", :green, true)
|
||||
say("Upgraded storage schema of #{records} records#{dry_run_mode_suffix}", :green, true)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue