Skip to content

Commit f0ec29b

Browse files
committed
fixup
1 parent 691e735 commit f0ec29b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-stream-pipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ const tsp = require('timers/promises');
15011501
let n = 0;
15021502
for await (const chunk of source) {
15031503
if (n++ > 1) {
1504-
return;
1504+
break;
15051505
}
15061506
ret += chunk;
15071507
}

0 commit comments

Comments
 (0)