From e2ea82b9ce573f1c94651b6a853d5abaf259cb8f Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Tue, 7 Aug 2018 11:22:00 -0400 Subject: [PATCH] dgram: fix linting issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Jeremiah Senkpiel Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- lib/dgram.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dgram.js b/lib/dgram.js index bc94321117a..44a7f09d006 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');