Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Nov 22, 2021
1 parent c4f0058 commit 4e0348f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/readablestream.js
Expand Up @@ -1432,7 +1432,7 @@ function readableStreamTee(stream, cloneForBranch2) {
readableStreamDefaultControllerClose(branch2[kState].controller);
if (!canceled1 || !canceled2)
cancelPromise.resolve();
})
});
},
[kError]() {
reading = false;
Expand Down
8 changes: 4 additions & 4 deletions test/parallel/test-whatwg-readablestream.js
Expand Up @@ -1500,12 +1500,12 @@ class Source {
const [r1, r2] = new ReadableStream({
start(controller) {
process.nextTick(() => {
controller.enqueue(new Uint8Array([102, 111, 111, 98, 97, 114]))
controller.enqueue(new Uint8Array([102, 111, 111, 98, 97, 114]));

process.nextTick(() => {
controller.close()
})
})
controller.close();
});
});
}
}).tee();

Expand Down

0 comments on commit 4e0348f

Please sign in to comment.