mirror of https://github.com/nodejs/node.git
zlib: Typo. s/opt/opts/
parent
c26cf84a08
commit
c828ded0c2
|
@ -92,7 +92,7 @@ exports.createUnzip = function(o) {
|
|||
// generic zlib
|
||||
// minimal 2-byte header
|
||||
function Deflate(opts) {
|
||||
if (!(this instanceof Deflate)) return new Deflate(opt);
|
||||
if (!(this instanceof Deflate)) return new Deflate(opts);
|
||||
Zlib.call(this, opts, binding.Deflate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue