From 74dcf39ca663369c01d4deeeaee54a11e7729a89 Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Tue, 7 Aug 2018 11:22:00 -0400 Subject: [PATCH] lib: fix JS linter 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. --- lib/dgram.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dgram.js b/lib/dgram.js index bc94321117a011..44a7f09d006104 100644 --- a/lib/dgram.js +++ b/lib/dgram.js @@ -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');