From 50d4ee6c8cbd55d67011d6e75dd2152f36da29d6 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Fri, 21 Jun 2019 11:52:15 +0200 Subject: [PATCH] fix: correct semver syntax --- src/factories/createGlobalProxyAgent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factories/createGlobalProxyAgent.js b/src/factories/createGlobalProxyAgent.js index 77f29793..37b4be4e 100644 --- a/src/factories/createGlobalProxyAgent.js +++ b/src/factories/createGlobalProxyAgent.js @@ -125,7 +125,7 @@ export default (configurationInput: ProxyAgentConfigurationInputType = defaultCo // $FlowFixMe https.globalAgent = httpsAgent; - } else if (semver.gte(process.version, 'v10')) { + } else if (semver.gte(process.version, 'v10.0.0')) { // $FlowFixMe http.get = bindHttpMethod(http.get, httpAgent);