Skip to content

Commit

Permalink
Fix Rubocop Style/RedundantParentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
jkempster34 committed Dec 28, 2023
1 parent 4651505 commit 1cd59b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/govspeak/presenters/contact_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def filter_post_addresses(addresses)
# Not showing United Kingdom country is a "feature" lifted and shifted
# from Whitehall:
# https://github.com/alphagov/whitehall/blob/c67d53d80f9856549c2da1941a10dbb9170be494/lib/address_formatter/formatter.rb#L17
(key == "world_location" && value.strip == "United Kingdom" || value == "")
key == "world_location" && value.strip == "United Kingdom" || value == ""
end
end

Expand Down

0 comments on commit 1cd59b9

Please sign in to comment.