Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: typo
  • Loading branch information
ronag committed Mar 19, 2020
commit b2925d8a81bbf54f9bcb6682abe2ee367580e78e
2 changes: 1 addition & 1 deletion lib/internal/streams/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async function pump(iterable, writable, finish) {
for await (const chunk of iterable) {
await Promise.race([
errorPromise,
await new Promise((resolve, reject) => {
new Promise((resolve, reject) => {
writable.write(chunk, null, (err) => {
err ? reject(err) : resolve();
});
Expand Down