File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ function extractNormalizedRequestData(
115
115
}
116
116
117
117
if ( include . cookies ) {
118
- const cookies = normalizedRequest . cookies || ( headers && headers . cookie ? parseCookie ( headers . cookie ) : undefined ) ;
118
+ const cookies = normalizedRequest . cookies || ( headers ? .cookie ? parseCookie ( headers . cookie ) : undefined ) ;
119
119
requestData . cookies = cookies || { } ;
120
120
}
121
121
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ function getAbsoluteUrl({
106
106
protocol,
107
107
host,
108
108
} : { url ?: string ; protocol : string ; host ?: string } ) : string | undefined {
109
- if ( url && url . startsWith ( 'http' ) ) {
109
+ if ( url ? .startsWith ( 'http' ) ) {
110
110
return url ;
111
111
}
112
112
You can’t perform that action at this time.
0 commit comments