Browse Source

Add `https://` to displayed url for cmd + click

master
Tony Kovanen 9 years ago
parent
commit
e8ff848e3b
  1. 2
      bin/now-remove

2
bin/now-remove

@ -45,7 +45,7 @@ const config = cfg.read();
function readConfirmation (url) {
return new Promise((resolve, reject) => {
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.bold(url)} will be removed permanently ${chalk.gray('[yN] ')}`);
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.bold('https://' + url)} will be removed permanently ${chalk.gray('[yN] ')}`);
process.stdin.on('data', (d) => {
process.stdin.pause();
resolve(d.toString().trim());

Loading…
Cancel
Save