[openstreetmap/openstreetmap-website] Rubocop autofix: ambiguous operator precedence (PR #3523)

Andy Allan notifications at github.com
Wed Apr 6 16:41:49 UTC 2022


This simply adds braces to clarify which mathematical operator comes first.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/3523

-- Commit Summary --

  * Rubocop autofix: ambiguous operator precedence

-- File Changes --

    M .rubocop_todo.yml (13)
    M app/controllers/geocoder_controller.rb (16)
    M app/models/user.rb (4)
    M lib/bounding_box.rb (16)
    M lib/osm.rb (18)
    M lib/rich_text.rb (6)
    M lib/short_link.rb (10)
    M test/controllers/api/old_nodes_controller_test.rb (8)
    M test/lib/short_link_test.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3523.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3523.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3523
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3523 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220406/2910cad1/attachment.htm>


More information about the rails-dev mailing list