Browse Source

y OR N

master
Leo Lamprecht 8 years ago
parent
commit
d8da820fe7
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 2
      bin/now-alias.js
  2. 2
      bin/now-certs.js
  3. 2
      bin/now-dns.js
  4. 2
      bin/now-domains.js
  5. 2
      bin/now-remove.js
  6. 2
      bin/now-secrets.js

2
bin/now-alias.js

@ -247,7 +247,7 @@ async function readConfirmation(alias, _alias) {
process.stdout.write('> The following alias will be removed permanently\n')
process.stdout.write(' ' + tbl + '\n')
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

2
bin/now-certs.js

@ -264,7 +264,7 @@ function readConfirmation(cert, msg) {
process.stdout.write(`> ${msg}`)
process.stdout.write(' ' + tbl + '\n')
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

2
bin/now-dns.js

@ -192,7 +192,7 @@ function readConfirmation(record, msg) {
process.stdout.write(`> ${msg}`)
process.stdout.write(' ' + tbl + '\n')
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

2
bin/now-domains.js

@ -244,7 +244,7 @@ async function readConfirmation(domain, _domain) {
`will be removed. Run ${chalk.dim('`now alias ls`')} to list.\n`)
}
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

2
bin/now-remove.js

@ -94,7 +94,7 @@ function readConfirmation(matches) {
}
}
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

2
bin/now-secrets.js

@ -229,7 +229,7 @@ function readConfirmation(secret) {
process.stdout.write('> The following secret will be removed permanently\n')
process.stdout.write(' ' + tbl + '\n')
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`)
process.stdout.write(`${chalk.bold.red('> Are you sure?')} ${chalk.gray('[y/N] ')}`)
process.stdin.on('data', d => {
process.stdin.pause()

Loading…
Cancel
Save