Fix ArgumentError of tootctl upgrade storage-schema

It seems that 2be48cf0 extracted move_previous_to_upgraded and remove_directory but actual arguments are missing.
This commit is contained in:
Shugo Maeda 2025-11-17 13:20:36 +09:00
parent c87b052829
commit c3d615c7d6
No known key found for this signature in database
GPG Key ID: 2DFE34085E97CE47

View File

@ -123,12 +123,12 @@ module Mastodon::CLI
progress.log("Moving #{previous_path} to #{upgraded_path}") if options[:verbose]
begin
move_previous_to_upgraded
move_previous_to_upgraded(previous_path, upgraded_path)
rescue => e
progress.log(pastel.red("Error processing #{previous_path}: #{e}"))
success = false
remove_directory
remove_directory(upgraded_path)
end
end