From fc11714bad12fc85b24f84c7c43d932983d39fa2 Mon Sep 17 00:00:00 2001 From: Szymon Rybczak Date: Thu, 21 Dec 2023 11:48:11 +0100 Subject: [PATCH] fix: only iterate on booted devices (#2225) --- .../cli-platform-apple/src/commands/runCommand/createRun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-platform-apple/src/commands/runCommand/createRun.ts b/packages/cli-platform-apple/src/commands/runCommand/createRun.ts index 316f82bf5..8c4bd3283 100644 --- a/packages/cli-platform-apple/src/commands/runCommand/createRun.ts +++ b/packages/cli-platform-apple/src/commands/runCommand/createRun.ts @@ -230,7 +230,7 @@ const createRun = logger.info(`Found booted ${booted.map(({name}) => name).join(', ')}`); - for (const device of devices) { + for (const device of bootedDevices) { await runOnDevice( device, platformName,