From ff0c55155ea49a474661301e3011f9d3ac26cd41 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 27 Dec 2023 15:23:28 -0800 Subject: [PATCH] lint fix --- index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index b8bcbe8..01acd23 100644 --- a/index.js +++ b/index.js @@ -93,9 +93,9 @@ exports.eachActiveDnsList = async function (connection, zone, nextOnce) { } if (type === 'allow') { - connection.notes.dnswl = true - connection.results.add(this, { pass: zone }) - return nextOnce(OK, [zone]) + connection.notes.dnswl = true + connection.results.add(this, { pass: zone }) + return nextOnce(OK, [zone]) } if (type === 'karma') { @@ -317,9 +317,8 @@ exports.checkZoneNegative = async function (zone, ip) { return true case dns.TIMEOUT: // list timed out this.disable_zone(zone, err.code) - default: - console.error(`${query} -> got err ${err}`) } + console.error(`${query} -> got err ${err}`) } return false }