From 15136df74a82eb90ecb6e713927523641f7a336f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E5=A4=9C=E5=B8=A6=E5=88=80?= Date: Fri, 17 Apr 2020 16:00:13 +0800 Subject: [PATCH] Update zlib.md Fix example code bug. --- doc/api/zlib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index 04465c11352269..195c874f8decbc 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -166,7 +166,7 @@ request.on('response', (response) => { pipeline(response, zlib.createGunzip(), output, onError); break; case 'deflate': - pipeline(response, zlib.createInflate(), outout, onError); + pipeline(response, zlib.createInflate(), output, onError); break; default: pipeline(response, output, onError);