Do not assign to properties that only have getters
It is an error in strict mode, and silent failure otherwise.
This commit is contained in:
parent
93d4259cf0
commit
e5bb8391a8
@ -612,11 +612,6 @@ function afterWrite(status, handle, req) {
|
||||
|
||||
|
||||
function connect(self, address, port, addressType, localAddress) {
|
||||
if (port) {
|
||||
self.remotePort = port;
|
||||
}
|
||||
self.remoteAddress = address;
|
||||
|
||||
// TODO return promise from Socket.prototype.connect which
|
||||
// wraps _connectReq.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user