Skip to content

Commit

Permalink
net: fix typo
Browse files Browse the repository at this point in the history
`SocketAddress.prototype.construtor` -> `SocketAddress.prototype.construtor`.

Fixes: #38125
  • Loading branch information
lpinca committed Apr 7, 2021
1 parent 6986fa0 commit 43ee622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/socketaddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class InternalSocketAddress extends JSTransferable {
}

InternalSocketAddress.prototype.constructor =
SocketAddress.prototype.construtor;
SocketAddress.prototype.constructor;
ObjectSetPrototypeOf(InternalSocketAddress.prototype, SocketAddress.prototype);

module.exports = {
Expand Down

0 comments on commit 43ee622

Please sign in to comment.