-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
http: lazy allocate cookies array #59734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #59734 +/- ##
==========================================
- Coverage 89.95% 89.93% -0.02%
==========================================
Files 667 667
Lines 196776 196778 +2
Branches 38409 38417 +8
==========================================
- Hits 177006 176977 -29
- Misses 12198 12211 +13
- Partials 7572 7590 +18
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % comment
if (ArrayIsArray(value)) { | ||
cookies ??= []; | ||
cookies.push(...value); | ||
} else { | ||
cookies ??= []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (ArrayIsArray(value)) { | |
cookies ??= []; | |
cookies.push(...value); | |
} else { | |
cookies ??= []; | |
cookies ??= []; | |
if (ArrayIsArray(value)) { | |
cookies.push(...value); | |
} else { |
No description provided.