From d032301a5907f6e22cde3f2bde54e80635d5920c Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Mon, 17 Jun 2024 16:53:23 +0200 Subject: [PATCH] Update util.js Signed-off-by: 1000TurquoisePogs --- lib/util.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index 162d56aa..efb8a7db 100644 --- a/lib/util.js +++ b/lib/util.js @@ -19,11 +19,10 @@ if (!global.COM_RS_COMMON_LOGGER) { const path = require('path'); const fs = require('fs'); -const util = require('node:util'); const Promise = require('bluebird'); const ipaddr = require('ipaddr.js'); const dns = require('dns'); -const dnsLookup = util.promisify(dns.lookup); +const dnsLookup = Promise.promisify(dns.lookup); const mergeUtils = require('../utils/mergeUtils'); const forge = require('node-forge');