Skip to content

Commit 1af1c3b

Browse files
committed
Update zlib.js
1 parent ddec444 commit 1af1c3b

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

lib/zlib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ ObjectSetPrototypeOf(BrotliCompress, Brotli);
848848

849849
function BrotliDecompress(opts) {
850850
if (!new.target) {
851-
return new BrotliCompress(opts);
851+
return new BrotliDecompress(opts);
852852
}
853853
ReflectApply(Brotli, this, [opts, BROTLI_DECODE]);
854854
}

test/parallel/test-zlib-deflate-raw-inherits.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)