summaryrefslogtreecommitdiff
path: root/lib/zlib.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib.js')
-rw-r--r--lib/zlib.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zlib.js b/lib/zlib.js
index 3660bd1a7d..f2233beb03 100644
--- a/lib/zlib.js
+++ b/lib/zlib.js
@@ -127,7 +127,8 @@ function zlibBufferSync(engine, buffer) {
} else {
throw new ERR_INVALID_ARG_TYPE(
'buffer',
- ['string', 'Buffer', 'TypedArray', 'DataView', 'ArrayBuffer']
+ ['string', 'Buffer', 'TypedArray', 'DataView', 'ArrayBuffer'],
+ buffer
);
}
}