Skip to content

Commit

Permalink
chore: Update lib/reply.js
Browse files Browse the repository at this point in the history
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
  • Loading branch information
Eomm and Uzlopak committed Sep 3, 2023
1 parent 18c87bc commit fbcce7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reply.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Reply.prototype.header = function (key, value = '') {
}

if (Array.isArray(value)) {
this[kReplyHeaders][key] = this[kReplyHeaders][key].concat(value)
Array.prototype.push.apply(this[kReplyHeaders][key], value)
} else {
this[kReplyHeaders][key].push(value)
}
Expand Down

0 comments on commit fbcce7c

Please sign in to comment.