Merge remote-tracking branch 'parent/main' into upstream-20240201
This commit is contained in:
commit
92ef42d697
179 changed files with 1218 additions and 2902 deletions
|
@ -113,17 +113,11 @@ module Mastodon::CLI
|
|||
end
|
||||
|
||||
def verify_deploy_concurrency!
|
||||
return unless options[:concurrency] < 1
|
||||
|
||||
say('Cannot run with this concurrency setting, must be at least 1', :red)
|
||||
exit(1)
|
||||
fail_with_message 'Cannot run with this concurrency setting, must be at least 1' if options[:concurrency] < 1
|
||||
end
|
||||
|
||||
def verify_deploy_batch_size!
|
||||
return unless options[:batch_size] < 1
|
||||
|
||||
say('Cannot run with this batch_size setting, must be at least 1', :red)
|
||||
exit(1)
|
||||
fail_with_message 'Cannot run with this batch_size setting, must be at least 1' if options[:batch_size] < 1
|
||||
end
|
||||
|
||||
def progress_output_options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue