From 1cd59b93c8918bf10653397347530c62999b00d5 Mon Sep 17 00:00:00 2001 From: Joseph Kempster Date: Thu, 28 Dec 2023 12:48:12 +0000 Subject: [PATCH] Fix Rubocop Style/RedundantParentheses --- lib/govspeak/presenters/contact_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/govspeak/presenters/contact_presenter.rb b/lib/govspeak/presenters/contact_presenter.rb index 2264e3c4..c0893e66 100644 --- a/lib/govspeak/presenters/contact_presenter.rb +++ b/lib/govspeak/presenters/contact_presenter.rb @@ -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