Browse Source

Fix `mastodon:stats` decoration of stats rake task (#31104)

pull/1368/head
Matt Jankowski 2 years ago committed by Claire
parent
commit
63ad8254ff
  1. 4
      lib/tasks/statistics.rake

4
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

Loading…
Cancel
Save