Use underscore in unused arguments

This commit is contained in:
Matt-Yorkley
2021-03-24 10:26:57 +00:00
parent 4b4f29641e
commit e71f47a2e3

View File

@@ -65,7 +65,7 @@ module Spree
end
# Used when Adjustment#update! wants to update the related adjustment
def compute_amount(*args)
def compute_amount(*_args)
amount.abs * -1
end