Skip to content

Commit 7c70f41

Browse files
authored
Update zlib.js
1 parent ddec444 commit 7c70f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zlib.js

+1-1
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
}

0 commit comments

Comments
 (0)