Skip to content

Commit

Permalink
Merge pull request #65 from Ming-George-Lei/master
Browse files Browse the repository at this point in the history
fix: remove duplicate definitions for options
  • Loading branch information
nfriedly authored Aug 21, 2024
2 parents 1f4e962 + 41a470e commit dd61d42
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 dd61d42

Please sign in to comment.