Skip to content

Commit

Permalink
Update zlib.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Sep 1, 2024
1 parent ddec444 commit 7c70f41
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 7c70f41

Please sign in to comment.