Add spec coverage for media CLI refresh
command (#28166)
This commit is contained in:
parent
7753e5f715
commit
1564799952
2 changed files with 74 additions and 0 deletions
|
@ -265,6 +265,7 @@ module Mastodon::CLI
|
|||
elsif options[:days].present?
|
||||
scope = MediaAttachment.remote
|
||||
else
|
||||
say('Specify the source of media attachments', :red)
|
||||
exit(1)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue