From c828ded0c2b6905c0f3ce0301e3c76923e9f5dec Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 26 Sep 2011 11:50:20 -0700 Subject: [PATCH] zlib: Typo. s/opt/opts/ --- lib/zlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zlib.js b/lib/zlib.js index 605d103..43725bf 100644 --- a/lib/zlib.js +++ b/lib/zlib.js @@ -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); } -- 2.7.4