Skip to content

Commit

Permalink
Update packages/cli-platform-ios/src/tools/prompts.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Szymon Rybczak <szymon.rybczak@gmail.com>
  • Loading branch information
thymikee and szymonrybczak committed Dec 18, 2023
1 parent fad9763 commit c1fe6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli-platform-ios/src/tools/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function promptForDeviceSelection(
devices: Device[],
lastUsedIOSDeviceId?: string,
): Promise<Device | undefined> {
const sortedDevices = devices;
const sortedDevices = [...devices];
const devicesIds = sortedDevices.map(({udid}) => udid);

if (lastUsedIOSDeviceId) {
Expand Down

0 comments on commit c1fe6ae

Please sign in to comment.