Browse Source

Show lowercased secret name after `now secret add` (#57)

master
Matheus Fernandes 8 years ago
committed by Leo Lamprecht
parent
commit
4debd4b3e7
  1. 2
      bin/now-secrets

2
bin/now-secrets

@ -182,7 +182,7 @@ async function run (token) {
}
const secret = await secrets.add(name, value);
const elapsed = ms(new Date() - start);
console.log(`${chalk.cyan('> Success!')} Secret ${chalk.bold(name)} ${chalk.gray(`(${secret.uid})`)} added ${chalk.gray(`[${elapsed}]`)}`);
console.log(`${chalk.cyan('> Success!')} Secret ${chalk.bold(name.toLowerCase())} ${chalk.gray(`(${secret.uid})`)} added ${chalk.gray(`[${elapsed}]`)}`);
return secrets.close();
}

Loading…
Cancel
Save