Skip to content

Commit

Permalink
Buggy node streams - nodejs/node#21122
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed Apr 29, 2020
1 parent 556d3dc commit 295b669
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/WAPTestTools.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/WAPTestTools.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/WAPTestTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class WAPTestTools {
data = Buffer.concat([ data, chunk ]);
}
});
stream.on('finish', () => {
stream.on('end', () => {
resolve(data.buffer);
// let ab: ArrayBuffer = new ArrayBuffer(data.byteLength);
// try {
Expand Down

0 comments on commit 295b669

Please sign in to comment.