Browse Source

alias set --debug: Only print nameservers if we fetched them (#166)

master
Olli Vanhoja 8 years ago
committed by Leo Lamprecht
parent
commit
3a8f11b1ba
  1. 6
      lib/alias.js

6
lib/alias.js

@ -133,7 +133,11 @@ export default class Alias extends Now {
let skipDNSVerification = false
if (this._debug) {
console.log(`> [debug] Found domain ${domain} and nameservers ${nameservers}`)
if (domainInfo) {
console.log(`> [debug] Found domain ${domain} with verified:${domainInfo.verified}`)
} else {
console.log(`> [debug] Found domain ${domain} and nameservers ${nameservers}`)
}
}
if (!usingZeitWorld && domainInfo) {

Loading…
Cancel
Save