Fix ArgumentError of tootctl upgrade storage-schema (#36914)

This commit is contained in:
Shugo Maeda authored and GitHub committed 2025-11-17 13:34:20 +00:00
1 parent 72c582e7e5
commit 04c566e2e9
1 file changed
+2 -2
+2 -2
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