Skip to content

Commit

Permalink
chore: removed alway true if
Browse files Browse the repository at this point in the history
  • Loading branch information
cesco69 authored Feb 26, 2025
1 parent 1b126ee commit db2f722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ module.exports = class Response extends Writable {
const newVal = [];
if(Array.isArray(old)) {
newVal.push(...old);
} else if(old) {
} else {
newVal.push(old);
}
if(Array.isArray(value)) {
Expand Down

0 comments on commit db2f722

Please sign in to comment.