Revert "Upstream 20240517"
This commit is contained in:
parent
9c006fd893
commit
f6dec44e95
2347 changed files with 26470 additions and 87494 deletions
|
@ -6,13 +6,8 @@ require_relative '../lib/mastodon/cli/main'
|
|||
|
||||
begin
|
||||
Chewy.strategy(:mastodon) do
|
||||
Mastodon::CLI::Main.start(ARGV, debug: true) # Enables the script to rescue `Thor::Error`
|
||||
Mastodon::CLI::Main.start(ARGV)
|
||||
end
|
||||
rescue Thor::Error => e
|
||||
Thor::Shell::Color
|
||||
.new
|
||||
.say_error(e.message, :red)
|
||||
exit(1)
|
||||
rescue Interrupt
|
||||
exit(130)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue