rubocop / rubocop-performance

An extension of RuboCop focused on code performance checks.
https://docs.rubocop.org/rubocop-performance
MIT License
682 stars 80 forks source link

[Fix #421] Fix false positives for `Performance/TimesMap` #423

Closed koic closed 10 months ago

koic commented 10 months ago

Fixes #421.

This PR fixes false positives for Performance/TimesMap with a block with safe navigation call for nil literal.

It does not have a changelog entry because it is a patch to a feature that has not been released yet.


Before submitting the PR make sure the following are checked: