Remove listDevices
Summary: Appears to be unused. Reviewed By: mweststrate Differential Revision: D26753922 fbshipit-source-id: 7a21b8242e4c8d2428a286bc6ef63adafe74a78c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
847f4d0151
commit
43242557aa
@@ -275,20 +275,6 @@ async function isXcodeDetected(): Promise<boolean> {
|
||||
.catch((_) => false);
|
||||
}
|
||||
|
||||
export async function getActiveDevicesAndSimulators(
|
||||
store: Store,
|
||||
): Promise<Array<IOSDevice>> {
|
||||
const activeDevices: Array<Array<IOSDeviceParams>> = await Promise.all([
|
||||
getSimulators(store, true),
|
||||
getActiveDevices(store.getState().settingsState.idbPath),
|
||||
]);
|
||||
const allDevices = activeDevices[0].concat(activeDevices[1]);
|
||||
return allDevices.map((device) => {
|
||||
const {udid, type, name} = device;
|
||||
return new IOSDevice(udid, type, name);
|
||||
});
|
||||
}
|
||||
|
||||
export default (store: Store, logger: Logger) => {
|
||||
if (!store.getState().settingsState.enableIOS) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user