mirror of
https://github.com/bitwarden/cli
synced 2025-12-12 14:23:32 +00:00
formatting
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: c3ad9b9b7d...e5db01083c
@@ -89,7 +89,8 @@ export class LoginCommand {
|
|||||||
const options = twoFactorProviders.map((p) => p.name);
|
const options = twoFactorProviders.map((p) => p.name);
|
||||||
options.push(new inquirer.Separator());
|
options.push(new inquirer.Separator());
|
||||||
options.push('Cancel');
|
options.push('Cancel');
|
||||||
const answer: inquirer.Answers = await inquirer.createPromptModule({ output: process.stderr })({
|
const answer: inquirer.Answers =
|
||||||
|
await inquirer.createPromptModule({ output: process.stderr })({
|
||||||
type: 'list',
|
type: 'list',
|
||||||
name: 'method',
|
name: 'method',
|
||||||
message: 'Two-step login method:',
|
message: 'Two-step login method:',
|
||||||
@@ -111,7 +112,8 @@ export class LoginCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (twoFactorToken == null) {
|
if (twoFactorToken == null) {
|
||||||
const answer: inquirer.Answers = await inquirer.createPromptModule({ output: process.stderr })({
|
const answer: inquirer.Answers =
|
||||||
|
await inquirer.createPromptModule({ output: process.stderr })({
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'token',
|
name: 'token',
|
||||||
message: 'Two-step login code:',
|
message: 'Two-step login code:',
|
||||||
|
|||||||
Reference in New Issue
Block a user