mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
style(rubocop): Lint/RedundantStringCoercion
This commit is contained in:
@@ -18,7 +18,7 @@ end
|
|||||||
mail = Mail.new
|
mail = Mail.new
|
||||||
mail.to = to
|
mail.to = to
|
||||||
mail.from = from
|
mail.from = from
|
||||||
mail.subject = "A test email from #{Time.now.to_s}"
|
mail.subject = "A test email from #{Time.now}"
|
||||||
mail["X-Postal-Tag"] = "send-html-email-script"
|
mail["X-Postal-Tag"] = "send-html-email-script"
|
||||||
mail.text_part = Mail::Part.new do
|
mail.text_part = Mail::Part.new do
|
||||||
body <<~BODY
|
body <<~BODY
|
||||||
|
|||||||
Reference in New Issue
Block a user