Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
63f168c3
Commit
63f168c3
authored
6 years ago
by
Eugen Rochko
Browse files
Options
Download
Email Patches
Plain Diff
Fix nil error regression from #9229 in tootctl media remove (#9239)
Fix #9237
parent
0f436de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/mastodon/media_cli.rb
+1
-1
lib/mastodon/media_cli.rb
with
1 addition
and
1 deletion
+1
-1
lib/mastodon/media_cli.rb
+
1
-
1
View file @
63f168c3
...
...
@@ -53,7 +53,7 @@ module Mastodon
Maintenance
::
UncacheMediaWorker
.
new
.
perform
(
m
)
unless
options
[
:dry_run
]
options
[
:verbose
]
?
say
(
m
.
id
)
:
say
(
'.'
,
:green
,
false
)
processed
+=
1
size
+=
m
.
file_file_size
size
+=
m
.
file_file_size
||
0
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets