Skip to content

Commit

Permalink
[squash] use const
Browse files Browse the repository at this point in the history
  • Loading branch information
starkwang committed Jul 9, 2019
1 parent 2ad2ff2 commit 3d0ec30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_http_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ Agent.prototype.destroy = function destroy() {

function destroySockets(sockets) {
for (const setKey in sockets) {
var setName = sockets[setKey];
const setName = sockets[setKey];
for (const socket of setName) {
socket.destroy();
}
Expand Down

0 comments on commit 3d0ec30

Please sign in to comment.