Skip to content

Commit

Permalink
cluster: replace var by let in shared_handle.js
Browse files Browse the repository at this point in the history
PR-URL: #30402
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
putxe authored and addaleax committed Nov 30, 2019
1 parent 01e0571 commit 55fbe45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/cluster/shared_handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function SharedHandle(key, address, port, addressType, fd, flags) {
this.handle = null;
this.errno = 0;

var rval;
let rval;
if (addressType === 'udp4' || addressType === 'udp6')
rval = dgram._createSocketHandle(address, port, addressType, fd, flags);
else
Expand Down

0 comments on commit 55fbe45

Please sign in to comment.