From d3fa68ea53ae8aa7fc422bb48e94cf0ab7c75fd7 Mon Sep 17 00:00:00 2001 From: "galina.prokofeva" Date: Wed, 6 Nov 2019 18:28:39 +0300 Subject: [PATCH] lib: change var into let Changed a variable declaration. --- lib/https.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)