summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgalina.prokofeva <g.k.prokofeva@gmail.com>2019-11-06 18:28:39 +0300
committerRich Trott <rtrott@gmail.com>2019-11-08 15:27:20 -0800
commit9a4b16f62056dcffd71f5d564684488c390a9a66 (patch)
tree867846975e2f26dca23f21b3f999e81035b6c292
parente7a24a19e84b8d24b4c56a4fd580dfd73a9f73b2 (diff)
downloadnode-new-9a4b16f62056dcffd71f5d564684488c390a9a66.tar.gz
https: change var to let in lib/https.js
Changed a variable declaration. PR-URL: https://github.com/nodejs/node/pull/30320 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
-rw-r--r--lib/https.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/https.js b/lib/https.js
index e1fc91fd96..6d799d0c92 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)