Skip to content

dgram: remove a needless instanceof Buffer check

When a string is passed to udpsock.send, it is automatically converted to a Buffer. In that case, it is no longer needed to test whether or not the argument is a Buffer.

Merge request reports

Loading