Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Dec 27, 2023
1 parent b587076 commit ff0c551
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit ff0c551

Please sign in to comment.