diff --git a/lib/https.js b/lib/https.js index 44b885b0a42891..4b5fbea0b3ba18 100644 --- a/lib/https.js +++ b/lib/https.js @@ -162,7 +162,7 @@ Object.setPrototypeOf(Agent, HttpAgent); Agent.prototype.createConnection = createConnection; Agent.prototype.getName = function getName(options) { - var name = HttpAgent.prototype.getName.call(this, options); + let name = HttpAgent.prototype.getName.call(this, options); name += ':'; if (options.ca)