From a4412e50375c66d462637ca018ef7818644b49f5 Mon Sep 17 00:00:00 2001 From: Adam Mueller Date: Wed, 27 Nov 2024 15:34:10 -0800 Subject: [PATCH] Fix spacing at top of OrderShipping#ship method Newest version of Rubocop wants us to remove extra spacing at the top of method bodies. (cherry picked from commit 6d44a136686a3f6f4b25cbdbba0a5fc61bdfd9a8) --- core/app/models/spree/order_shipping.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/core/app/models/spree/order_shipping.rb b/core/app/models/spree/order_shipping.rb index 15b23cda18a..323638d9a48 100644 --- a/core/app/models/spree/order_shipping.rb +++ b/core/app/models/spree/order_shipping.rb @@ -44,7 +44,6 @@ def ship_shipment(shipment, external_number: nil, tracking_number: nil, suppress # @return The carton created. def ship(inventory_units:, stock_location:, address:, shipping_method:, shipped_at: Time.current, external_number: nil, tracking_number: nil, suppress_mailer: false) - carton = nil Spree::InventoryUnit.transaction do