summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_zlib_binding.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/_zlib_binding.mjs')
-rw-r--r--ext/node/polyfills/_zlib_binding.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_zlib_binding.mjs b/ext/node/polyfills/_zlib_binding.mjs
index 0b155cfd5..30bd1400a 100644
--- a/ext/node/polyfills/_zlib_binding.mjs
+++ b/ext/node/polyfills/_zlib_binding.mjs
@@ -120,7 +120,7 @@ class Zlib {
core.opAsync(
"op_zlib_write_async",
this.#handle,
- flush,
+ flush ?? Z_NO_FLUSH,
input,
in_off,
in_len,