-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove useless reorder(nil)
call in tootctl statuses
#28141
Remove useless reorder(nil)
call in tootctl statuses
#28141
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's worth creating a new method for this. What about just renaming scope
to aged_media_attachments
?
4118248
to
159a35f
Compare
Eh - for me most of the benefit (marginal, I would agree!) is in getting rid of the local var. Updated to be just a removal of the unneeded |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #28141 +/- ##
=======================================
Coverage 83.18% 83.18%
=======================================
Files 1038 1038
Lines 28220 28220
Branches 4550 4550
=======================================
Hits 23475 23475
Misses 3635 3635
Partials 1110 1110 ☔ View full report in Codecov by Sentry. |
aged_media_attachments
helper method to statuses CLIreorder(nil)
call in tootctl statuses
Adds a well named private method instead of the
scope
local variable, and removes areorder
that I must have missed in the recent MediaAttachment default_scope PR.