Skip to content

Commit

Permalink
Remove double-stringify in setCookie
Browse files Browse the repository at this point in the history
  • Loading branch information
peterver committed Mar 21, 2024
1 parent 1b62571 commit 2ec75ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/cookies/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function setCookie (headers, cookie) {
const str = stringify(cookie)

if (str) {
headers.append('Set-Cookie', stringify(cookie))
headers.append('Set-Cookie', str);

Check failure on line 105 in lib/web/cookies/index.js

View workflow job for this annotation

GitHub Actions / Lint

Extra semicolon
}
}

Expand Down

0 comments on commit 2ec75ec

Please sign in to comment.