Browse Source

alias: improve out

master
Guillermo Rauch 9 years ago
parent
commit
6172678a90
  1. 4
      lib/alias.js

4
lib/alias.js

@ -97,6 +97,7 @@ export default class Alias extends Now {
console.log(`> ${chalk.bold(chalk.underline(alias))} is a custom domain.`);
console.log(`> Verifying that ${chalk.bold(chalk.underline(alias))} has a ${chalk.cyan('`CNAME`')} or ${chalk.cyan('`ALIAS`')} record pointing to ${chalk.bold(chalk.underline('alias.zeit.co'))}.`);
await this.verifyOwnership(alias);
console.log(`> Verification ${chalk.bold('OK')}!`);
}
const { created, uid } = await this.createAlias(depl, alias);
@ -149,8 +150,7 @@ export default class Alias extends Now {
}
if ('cert_missing' === code) {
console.log(`> Provisioning certificate for ${chalk.underline(chalk.cyan(alias))}`);
console.log(`> Provisioning certificate for ${chalk.underline(chalk.bold(alias))}`);
await this.createCert();
// try again, but now having provisioned the certificate

Loading…
Cancel
Save