Skip to content

Commit 9bed712

Browse files
ronagmetcoder95
authored andcommitted
fix: fetch move out step from cond
1 parent cefae6f commit 9bed712

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/fetch/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -434,13 +434,13 @@ function fetching ({
434434

435435
// 3. Append `Accept`/value to request’s header list.
436436
request.headersList.append('accept', value)
437+
}
437438

438-
// 12. If request’s header list does not contain `Accept-Language`, then
439-
// user agents should append `Accept-Language`/an appropriate value to
440-
// request’s header list.
441-
if (!request.headersList.has('accept-language')) {
442-
request.headersList.append('accept-language', '*')
443-
}
439+
// 12. If request’s header list does not contain `Accept-Language`, then
440+
// user agents should append `Accept-Language`/an appropriate value to
441+
// request’s header list.
442+
if (!request.headersList.has('accept-language')) {
443+
request.headersList.append('accept-language', '*')
444444
}
445445

446446
// 13. If request’s priority is null, then use request’s initiator and

0 commit comments

Comments
 (0)