mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-08 19:35:11 +01:00
Only register stats dirs when command available (#33454)
This commit is contained in:
parent
9712518b2f
commit
9b82bedc6f
@ -1,5 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
return unless defined?(Rails::Command::StatsCommand)
|
||||||
|
|
||||||
[
|
[
|
||||||
%w(AppLibs app/lib),
|
%w(AppLibs app/lib),
|
||||||
%w(Policies app/policies),
|
%w(Policies app/policies),
|
||||||
|
Loading…
Reference in New Issue
Block a user