Skip to content

Commit

Permalink
Refactor flag prompt for uninstall subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Aug 26, 2024
1 parent 39bda37 commit 1736a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/android/subcommands/uninstall/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ async function promptForFlag(): Promise<string> {
const flagAnswer = await inquirer.prompt({
type: 'list',
name: 'flag',
message: 'Select what do you want to uninstall:',
choices: ['App', 'AVD']
message: 'Select what you want to uninstall:',
choices: ['Android App', 'Android Virtual Device (AVD)']
});
Logger.log();

const flag = flagAnswer.flag;
if (flag === 'App') {
if (flag === 'Android App') {
return 'app';
}

Expand Down

0 comments on commit 1736a7c

Please sign in to comment.