mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-06 23:13:01 -05: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…
x
Reference in New Issue
Block a user