From b23a68168a85af5cab9314ba2d014adaa62c0bee Mon Sep 17 00:00:00 2001 From: Hugo Gameiro Date: Wed, 18 Dec 2024 14:47:05 +0000 Subject: [PATCH] Fix Layout/EmptyLineAfterGuardClause --- lib/mastodon/cli/media.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mastodon/cli/media.rb b/lib/mastodon/cli/media.rb index 93f0f80b4b..87721f94cb 100644 --- a/lib/mastodon/cli/media.rb +++ b/lib/mastodon/cli/media.rb @@ -173,6 +173,7 @@ module Mastodon::CLI path_segments = object.key.split('/') progress.increment next unless orphaned_file?(path_segments) + begin object.destroy unless dry_run? reclaimed_bytes += object.content_length