cluster: replace var by let in shared_handle.js

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
poutch authored and Myles Borins committed 2019-12-17 17:06:50 -05:00
1 parent 0a068db450
commit daa593263d
1 file changed
+1 -1
+1 -1
View File
@@ -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