Only register stats dirs when command available (#33454)
This commit is contained in:
parent
9712518b2f
commit
9b82bedc6f
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
return unless defined?(Rails::Command::StatsCommand)
|
||||
|
||||
[
|
||||
%w(AppLibs app/lib),
|
||||
%w(Policies app/policies),
|
||||
|
|
Loading…
Reference in a new issue