Skip to content

Commit

Permalink
Add check for empty device list (#6750)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Chestnut <cchestnut@google.com>
  • Loading branch information
MaesterChestnut and Chris Chestnut committed Feb 7, 2024
1 parent 4707cbd commit a4abfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/appdistribution-distribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const command = new Command("appdistribution:distribute <release-binary-f
await requests.distribute(releaseName, testers, groups);

// Run automated tests
if (testDevices) {
if (testDevices?.length) {
utils.logBullet("starting automated tests (note: this feature is in beta)");
const releaseTest = await requests.createReleaseTest(
releaseName,
Expand Down

0 comments on commit a4abfa5

Please sign in to comment.