Skip to content

Commit

Permalink
https: change var to let in lib/https.js
Browse files Browse the repository at this point in the history
Changed a variable declaration.

PR-URL: #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>
  • Loading branch information
galinaprokofeva authored and Trott committed Nov 8, 2019
1 parent e7a24a1 commit 9a4b16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/https.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a4b16f

Please sign in to comment.