Browse Source

now-remove: improve success message output

master
Guillermo Rauch 9 years ago
parent
commit
81214d9fcf
  1. 2
      bin/now-remove

2
bin/now-remove

@ -93,7 +93,7 @@ async function remove (token) {
const start = new Date();
await now.remove(deploymentId, { hard });
const elapsed = ms(new Date() - start);
console.log(`${chalk.cyan('> Deployment')} ${chalk.bold(deploymentId)} ${chalk.cyan('removed')} [${elapsed}]`);
console.log(`${chalk.cyan('> Success!')} Deployment ${chalk.bold(deploymentId)} removed [${elapsed}]`);
} catch (err) {
handleError(err);
process.exit(1);

Loading…
Cancel
Save