diff --git a/lib/https.js b/lib/https.js index e1fc91fd966ad9..6d799d0c925f2b 100644 --- a/lib/https.js +++ b/lib/https.js @@ -158,7 +158,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)