diff --git a/packages/lib/shim-init-node.js b/packages/lib/shim-init-node.js index 2e93d8d0b8..eb73759dd4 100644 --- a/packages/lib/shim-init-node.js +++ b/packages/lib/shim-init-node.js @@ -481,7 +481,7 @@ function shimInit(sharp = null, keytar = null, React = null) { shim.httpAgent_ = null; shim.httpAgent = url => { - if (shim.isLinux() && !shim.httpAgent) { + if (shim.isLinux() && !shim.httpAgent_) { const AgentSettings = { keepAlive: true, maxSockets: 1,