There was an error while loading. Please reload this page.
1 parent 1dba162 commit 97bfeffCopy full SHA for 97bfeff
lib/_http_agent.js
@@ -127,10 +127,10 @@ Agent.prototype.getName = function getName(options) {
127
// Pacify parallel/test-http-agent-getname by only appending
128
// the ':' when options.family is set.
129
if (options.family === 4 || options.family === 6)
130
- name += ':' + options.family;
+ name += `:${options.family}`;
131
132
if (options.socketPath)
133
- name += ':' + options.socketPath;
+ name += `:${options.socketPath}`;
134
135
return name;
136
};
0 commit comments