Only register stats dirs when command available (#33454)

This commit is contained in:
Matt Jankowski 2025-01-04 12:44:49 -05:00 committed by GitHub
parent 9712518b2f
commit 9b82bedc6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,7 @@
# frozen_string_literal: true
return unless defined?(Rails::Command::StatsCommand)
[
%w(AppLibs app/lib),
%w(Policies app/policies),