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. 4
      lib/alias.js

4
lib/alias.js

@ -133,8 +133,12 @@ export default class Alias extends Now {
let skipDNSVerification = false
if (this._debug) {
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) {
if (domainInfo.verified) {

Loading…
Cancel
Save