diff --git a/lib/zlib.js b/lib/zlib.js index 2def716e9b676c..4cbdd37e10d7a2 100644 --- a/lib/zlib.js +++ b/lib/zlib.js @@ -119,8 +119,7 @@ function zlibBufferSync(engine, buffer) { buffer = processChunkSync(engine, buffer, engine._finishFlushFlag); if (engine._info) return { buffer, engine }; - else - return buffer; + return buffer; } function zlibOnError(message, errno) {