Skip to content

Commit

Permalink
fix: correct semver syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jun 21, 2019
1 parent 5ce7163 commit 50d4ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/createGlobalProxyAgent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 50d4ee6

Please sign in to comment.