Fix mastodon:stats
decoration of stats rake task (#31104)
This commit is contained in:
parent
8fe1cefe4c
commit
63ad8254ff
1 changed files with 3 additions and 1 deletions
|
@ -9,11 +9,13 @@ namespace :mastodon do
|
||||||
[
|
[
|
||||||
['App Libraries', 'app/lib'],
|
['App Libraries', 'app/lib'],
|
||||||
%w(Presenters app/presenters),
|
%w(Presenters app/presenters),
|
||||||
|
%w(Policies app/policies),
|
||||||
|
%w(Serializers app/serializers),
|
||||||
%w(Services app/services),
|
%w(Services app/services),
|
||||||
%w(Validators app/validators),
|
%w(Validators app/validators),
|
||||||
%w(Workers app/workers),
|
%w(Workers app/workers),
|
||||||
].each do |name, dir|
|
].each do |name, dir|
|
||||||
STATS_DIRECTORIES << [name, Rails.root.join(dir)]
|
STATS_DIRECTORIES << [name, dir]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue