We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc63e5 commit 94b7d61Copy full SHA for 94b7d61
lib/rubocop/cop/rspec/base.rb
@@ -70,7 +70,7 @@ def rspec_pattern_config
70
end
71
72
def rspec_language_config(*keys)
73
- all_cops_config.dig('RSpec', 'Language', *keys)&.map(&:to_sym) || []
+ all_cops_config.dig('RSpec', 'Language', *keys).to_a.map(&:to_sym)
74
75
76
0 commit comments