summaryrefslogtreecommitdiff
path: root/lib/internal/cluster/round_robin_handle.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-11-28 08:19:55 +0100
committerMichaël Zasso <targos@protonmail.com>2019-11-30 13:37:23 +0100
commit7fc5980cfe79c9b7ff19837397823a583c9fd8fe (patch)
treecf999c713248005a8bfa273ac6a6af71535a8e80 /lib/internal/cluster/round_robin_handle.js
parent0da6983cdad80dad8c1d4155b1bc887ce37d9c40 (diff)
downloadandroid-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.tar.gz
android-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.tar.bz2
android-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.zip
lib: enforce use of Boolean from primordials
Refs: https://github.com/nodejs/node/issues/30697 PR-URL: https://github.com/nodejs/node/pull/30698 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'lib/internal/cluster/round_robin_handle.js')
-rw-r--r--lib/internal/cluster/round_robin_handle.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/internal/cluster/round_robin_handle.js b/lib/internal/cluster/round_robin_handle.js
index 6794e8d419..61023b8370 100644
--- a/lib/internal/cluster/round_robin_handle.js
+++ b/lib/internal/cluster/round_robin_handle.js
@@ -1,4 +1,9 @@
'use strict';
+
+const {
+ Boolean,
+} = primordials;
+
const assert = require('internal/assert');
const net = require('net');
const { sendHelper } = require('internal/cluster/utils');