Skip to content

Commit 4a27ad9

Browse files
committed
Don't consider to as Array anymore
1 parent d1a5e22 commit 4a27ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/commit-email.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def make_header(to, from, info)
357357
headers << 'Content-Type: text/plain; charset=utf-8'
358358
headers << 'Content-Transfer-Encoding: quoted-printable'
359359
headers << "From: #{from}"
360-
headers << "To: #{to.join(' ')}"
360+
headers << "To: #{to}"
361361
headers << "Subject: #{make_subject(info)}"
362362
headers.find_all do |header|
363363
/\A\s*\z/ !~ header

0 commit comments

Comments
 (0)