Skip to content

Commit

Permalink
Bugfix: Don’t wait for the emulator that hasn’t started yet
Browse files Browse the repository at this point in the history
  • Loading branch information
zner0L committed Jul 12, 2023
1 parent f5b11d0 commit 9eb53ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/record-traffic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ The app can optionally be uninstalled automatically afterwards.`;
},
{
title: 'Waiting for device…',
// If an emulator name is set, we start the emulator in `ensureDevice` and wait there.
// (fixed in https://github.com/tweaselORG/cli/pull/31)
enabled: () => !flags['emulator-name'],
task: async () => ctx.analysis.platform.waitForDevice(),
},
{
Expand Down

0 comments on commit 9eb53ac

Please sign in to comment.