Skip to content

Commit fcc1698

Browse files
authored
fetch: removal of redundant condition (nodejs#1821)
1 parent 8c9e34e commit fcc1698

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/fetch/body.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ function extractBody (object, keepalive = false) {
171171
if (object.type) {
172172
type = object.type
173173
}
174-
} else if (object instanceof Uint8Array) {
175-
// byte sequence
176-
177-
// Set source to object.
178-
source = object
179174
} else if (typeof object[Symbol.asyncIterator] === 'function') {
180175
// If keepalive is true, then throw a TypeError.
181176
if (keepalive) {

0 commit comments

Comments
 (0)