Files
openfoodnetwork/app/models
Neal Chambers 85fef7ac4b Safely autocorrect Style/RedundantRegexpArgument
Inspecting 1513 files
...........................................................................................................................................................................................................................................................................................................................................................C....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Offenses:

app/models/spree/shipping_method.rb:69:25: C: [Corrected] Style/RedundantRegexpArgument: Use string ":tracking" as argument instead of regexp /:tracking/.
      tracking_url.gsub(/:tracking/, tracking) unless tracking.blank? || tracking_url.blank?
                        ^^^^^^^^^^^
lib/spree/i18n.rb:36:17: C: [Corrected] Style/RedundantRegexpArgument: Use string "spree" as argument instead of regexp /spree/.
      path.gsub(/spree/, '')
                ^^^^^^^

1513 files inspected, 2 offenses detected, 2 offenses corrected
2023-11-17 08:59:27 +09:00
..
2023-09-12 23:19:05 +09:00
2023-09-26 10:56:44 +10:00
2012-03-27 10:10:26 +11:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-09-12 23:19:05 +09:00
2023-06-23 09:08:04 +09:00
2023-09-13 16:45:00 +09:00