Only register stats dirs when command available (#33454)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2025-01-04 17:44:49 +00:00
1 parent 9712518b2f
commit 9b82bedc6f
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
# frozen_string_literal: true
return unless defined?(Rails::Command::StatsCommand)
[
%w(AppLibs app/lib),
%w(Policies app/policies),