Skip to content

Commit

Permalink
fix: remove duplicate definitions for options
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming Lei authored and Ming Lei committed Aug 16, 2024
1 parent 1f4e962 commit 41a470e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/set-cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ function parse(input, options) {
input = [input];
}

options = options
? Object.assign({}, defaultParseOptions, options)
: defaultParseOptions;

if (!options.map) {
return input.filter(isNonEmptyString).map(function (str) {
return parseString(str, options);
Expand Down

0 comments on commit 41a470e

Please sign in to comment.