Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaDiachenko committed Sep 11, 2024
1 parent 5a7b25f commit 9f93ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-apple/src/deviceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getAppleDevices = async (ignoreDevices?: boolean, ignoreSimulators?
logDefault('getAppleDevices', `ignoreDevices:${ignoreDevices} ignoreSimulators:${ignoreSimulators}`);
const { skipTargetCheck } = c.program.opts();

const connectedDevicesArray = (await listIOSDevices()).filter((d) => d.isAvailable) as DeviceType[];
const connectedDevicesArray = ((await listIOSDevices()) as DeviceType[]).filter((d) => d.isAvailable);

const allDevicesAndSims = _parseNewIOSDevicesList(connectedDevicesArray);

Expand Down

0 comments on commit 9f93ef1

Please sign in to comment.