Skip to content

Commit

Permalink
fix standard errors when targeting 3.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
searls committed May 23, 2024
1 parent 6422950 commit e7d5e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standard/plugin/merges_plugins_into_rubocop_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def blank_rubocop_config(example_config)
end

def except(hash_or_config, keys)
hash_or_config.to_h.reject { |key, _| keys.include?(key) }.to_h
hash_or_config.to_h.except(*keys).to_h
end

# Always deletes nil entries, always overwrites arrays
Expand Down

0 comments on commit e7d5e49

Please sign in to comment.