summaryrefslogtreecommitdiff
path: root/deps/npm/lib/utils/gunzip-maybe.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/utils/gunzip-maybe.js')
-rw-r--r--deps/npm/lib/utils/gunzip-maybe.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/utils/gunzip-maybe.js b/deps/npm/lib/utils/gunzip-maybe.js
index db75f06017..adf7e4402a 100644
--- a/deps/npm/lib/utils/gunzip-maybe.js
+++ b/deps/npm/lib/utils/gunzip-maybe.js
@@ -11,8 +11,8 @@ function gunzip () {
var stream = duplex()
var peeker = through(function (chunk, enc, cb) {
var newStream = hasGzipHeader(chunk)
- ? zlib.createGunzip()
- : through()
+ ? zlib.createGunzip()
+ : through()
stream.setReadable(newStream)
stream.setWritable(newStream)
stream.write(chunk)