Skip to content

Commit

Permalink
fix: use the write input type for account names [gh-732] (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
umutuzgur authored May 25, 2023
1 parent 6b1545e commit 76de154
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "checkly",
"version": "4.0.7",
"version": "4.0.8",
"description": "Checkly CLI",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const selectAccount = async (accounts: Array<Account>): Promise<Account> => {

const { accountName } = await prompts({
name: 'accountName',
type: 'list',
choices: accounts.map(a => ({ title: a.name })),
type: 'select',
choices: accounts.map(({ name }) => ({ title: name, value: name })),
message: 'Which account do you want to use?',
})

Expand Down

0 comments on commit 76de154

Please sign in to comment.