Skip to content

Commit

Permalink
Update zlib.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Sep 1, 2024
1 parent ddec444 commit 1af1c3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion lib/zlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ ObjectSetPrototypeOf(BrotliCompress, Brotli);

function BrotliDecompress(opts) {
if (!new.target) {
return new BrotliCompress(opts);
return new BrotliDecompress(opts);
}
ReflectApply(Brotli, this, [opts, BROTLI_DECODE]);
}
Expand Down
27 changes: 0 additions & 27 deletions test/parallel/test-zlib-deflate-raw-inherits.js

This file was deleted.

0 comments on commit 1af1c3b

Please sign in to comment.