2
0

Fix Style/FormatStringToken cop (#34861)

This commit is contained in:
Matt Jankowski
2025-06-02 03:37:33 -04:00
committed by GitHub
parent 1b11bb23d7
commit 0d5123199f
3 changed files with 2 additions and 11 deletions

View File

@@ -239,7 +239,7 @@ module Paperclip
end
def rgb_to_hex(rgb)
format('#%02x%02x%02x', rgb.r, rgb.g, rgb.b)
format('#%02x%02x%02x', rgb.r, rgb.g, rgb.b) # rubocop:disable Style/FormatStringToken
end
end
end