diff --git a/lib/alias.js b/lib/alias.js index 7740ea5..ba8bdc0 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -151,7 +151,7 @@ export default class Alias extends Now { if ('cert_missing' === code) { console.log(`> Provisioning certificate for ${chalk.underline(chalk.bold(alias))}`); - await this.createCert(); + await this.createCert(alias); // try again, but now having provisioned the certificate return this.createAlias(depl, alias);