Skip to content

Commit

Permalink
lint: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Aug 7, 2020
1 parent fafbf9f commit 500ad2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/dns/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const {
NSRecord,
SOARecord,
NSECRecord,
KEYRecord,
types,
codes
} = wire;
Expand Down
4 changes: 2 additions & 2 deletions test/ns-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ describe('RootServer', function() {
});

it('should resolve KEY rr', async () => {
let req = {question: [{name: '.', type: wire.types.KEY}]};
let res = await ns.resolve(req);
const req = {question: [{name: '.', type: wire.types.KEY}]};
const res = await ns.resolve(req);
const got = res.answer.find(rr => rr.type === wire.types.KEY);

assert(got);
Expand Down

0 comments on commit 500ad2d

Please sign in to comment.