Skip to content

Commit 1eacbc3

Browse files
committed
Remove a useless constant
It seems that unnecessary constant was left behind when introducing the Inject mechanism, inspired by RuboCop RSpec, during the initial implementation of this gem.
1 parent 88b9dc5 commit 1eacbc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rubocop/rails.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module RuboCop
55
module Rails
66
PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze
77
CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze
8-
CONFIG = YAML.safe_load(CONFIG_DEFAULT.read, permitted_classes: [Regexp, Symbol]).freeze
98

109
private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
1110

0 commit comments

Comments
 (0)