Skip to content

Commit

Permalink
Only verify browsers if requirements present or setup flag used.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Oct 14, 2022
1 parent 2ac5bd0 commit 85d3ba3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/android/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export class AndroidSetup {
result = false;
}

if (setupConfigs.mode !== 'real') {
if (setupConfigs.mode !== 'real' && (this.options.setup || missingRequirements.length === 0)) {
// Only verify/install browsers if working with emulator and setup flag is used.
// If setup flag is not used, then all other requirements should be met before verifying browsers.
await this.verifyAndSetupBrowsers(setupConfigs.browsers);
}

Expand Down

0 comments on commit 85d3ba3

Please sign in to comment.