From 63ad8254ff8cdabbbd666f0112fd929122b1acd9 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Tue, 23 Jul 2024 02:51:57 -0400 Subject: [PATCH] Fix `mastodon:stats` decoration of stats rake task (#31104) --- lib/tasks/statistics.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tasks/statistics.rake b/lib/tasks/statistics.rake index dde7890f6..82840f4fd 100644 --- a/lib/tasks/statistics.rake +++ b/lib/tasks/statistics.rake @@ -9,11 +9,13 @@ namespace :mastodon do [ ['App Libraries', 'app/lib'], %w(Presenters app/presenters), + %w(Policies app/policies), + %w(Serializers app/serializers), %w(Services app/services), %w(Validators app/validators), %w(Workers app/workers), ].each do |name, dir| - STATS_DIRECTORIES << [name, Rails.root.join(dir)] + STATS_DIRECTORIES << [name, dir] end end end