Skip to content

Commit e2ea82b

Browse files
maclover7jasnell
authored andcommittedAug 7, 2018
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: #22175 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 1284fa2 commit e2ea82b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎lib/dgram.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const {
3939
ERR_SOCKET_DGRAM_NOT_RUNNING,
4040
ERR_INVALID_FD_TYPE
4141
} = errors.codes;
42-
const { validateString } = require('internal/validators');
42+
const { isInt32, validateString } = require('internal/validators');
4343
const { Buffer } = require('buffer');
4444
const util = require('util');
4545
const { isUint8Array } = require('internal/util/types');
@@ -48,7 +48,6 @@ const {
4848
defaultTriggerAsyncIdScope,
4949
symbols: { async_id_symbol, owner_symbol }
5050
} = require('internal/async_hooks');
51-
const { isInt32 } = require('internal/validators');
5251
const { UV_UDP_REUSEADDR } = process.binding('constants').os;
5352

5453
const { UDP, SendWrap } = process.binding('udp_wrap');

0 commit comments

Comments
 (0)
Please sign in to comment.