2
0
mirror of https://git.coolaj86.com/coolaj86/acme-dns-01-cli.js synced 2025-04-21 13:20:39 +00:00

fix error

This commit is contained in:
AJ ONeal 2016-10-12 17:12:29 -06:00
parent 714027f88b
commit 26dcf0b6d1

View File

@ -181,8 +181,8 @@ Challenge.test = function (args, domain, challenge, keyAuthorization, done) {
err = new Error("txt record '" + challenge + "' doesn't match '" + k + "'"); err = new Error("txt record '" + challenge + "' doesn't match '" + k + "'");
} }
me.remove(defaults, domain, challenge, function (err) { me.remove(defaults, domain, challenge, function (_err) {
if (err) { done(err); return; } if (_err) { done(_err); return; }
// TODO needs to use native-dns so that specific nameservers can be used // TODO needs to use native-dns so that specific nameservers can be used
// (otherwise the cache will still have the old answer) // (otherwise the cache will still have the old answer)