dgram: fix linting issue
Not sure why CI (and `make -j8 test` at the time of landing) showed this as being OK, but `make lint-js` is failing now. PR-URL: https://github.com/nodejs/node/pull/22175 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
1284fa2009
commit
e2ea82b9ce
@ -39,7 +39,7 @@ const {
|
||||
ERR_SOCKET_DGRAM_NOT_RUNNING,
|
||||
ERR_INVALID_FD_TYPE
|
||||
} = errors.codes;
|
||||
const { validateString } = require('internal/validators');
|
||||
const { isInt32, validateString } = require('internal/validators');
|
||||
const { Buffer } = require('buffer');
|
||||
const util = require('util');
|
||||
const { isUint8Array } = require('internal/util/types');
|
||||
@ -48,7 +48,6 @@ const {
|
||||
defaultTriggerAsyncIdScope,
|
||||
symbols: { async_id_symbol, owner_symbol }
|
||||
} = require('internal/async_hooks');
|
||||
const { isInt32 } = require('internal/validators');
|
||||
const { UV_UDP_REUSEADDR } = process.binding('constants').os;
|
||||
|
||||
const { UDP, SendWrap } = process.binding('udp_wrap');
|
||||
|
Loading…
x
Reference in New Issue
Block a user