From 53de04121c72ccd1bb321c7095f121b6f3abf39f Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Wed, 26 Aug 2020 23:09:41 +0100 Subject: [PATCH] Fix rubocop issue --- app/models/spree/zone.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/spree/zone.rb b/app/models/spree/zone.rb index 4242658e40..ed1250d553 100644 --- a/app/models/spree/zone.rb +++ b/app/models/spree/zone.rb @@ -59,7 +59,6 @@ module Spree @countries ||= case kind when 'country' then zoneables when 'state' then zoneables.collect(&:country) - else nil end.flatten.compact.uniq end