Replace `this` by `self` in a scoped reference

This commit is contained in:
Jesús Darío 2017-06-05 15:15:37 +02:00 committed by GitHub
parent 75afd35a6b
commit fc66549961
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ TcpSocket.prototype._write = function(buffer: any, encoding: ?String, callback:
Sockets.write(this._id, str, function(err) {
if (self._timeout) {
self._activeTimer(this._timeout.msecs);
self._activeTimer(self._timeout.msecs);
}
err = normalizeError(err);