Fix an error for `Performance/MapCompact` when using `map(&:do_something).compact.first` and there is a line break after `map.compact` and receiver by ydah · Pull Request #285 · rubocop/rubocop-performance
This fixes an issue where code like the following would cause an error in the Performance/MapCompact cop: collection .map(&:do_something).compact .first The following error was outcome: An ...