We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3992919 commit 95f80c9Copy full SHA for 95f80c9
maestro-cli/src/main/java/maestro/cli/command/TestCommand.kt
@@ -239,8 +239,9 @@ class TestCommand : Callable<Int> {
239
}
240
241
.ifEmpty {
242
+ val platform = platform ?: parent?.platform
243
connectedDevices
- .filter { it.platform == Platform.fromString(platform ?: parent?.platform) }
244
+ .filter { platform == null || it.platform == Platform.fromString(platform) }
245
.map { it.instanceId }.toSet()
246
247
.toList()
0 commit comments