Skip to content
Permalink
Browse files

cluster: replace var by let in shared_handle.js

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 MylesBorins committed Nov 12, 2019
1 parent 0a068db commit daa593263dc0ef4473620d653e7e5a142f166dd0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/cluster/shared_handle.js
@@ -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

0 comments on commit daa5932

Please sign in to comment.
You can’t perform that action at this time.