Skip to content

Commit

Permalink
set width and height as empty for tvOS
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed May 6, 2024
1 parent c11a58e commit 3fbd816
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/device-managers/IOSDeviceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,12 @@ export default class IOSDeviceManager implements IDeviceManager {
const buildSimulators = !isEmpty(filteredSimulators) ? filteredSimulators : flattenValued;
//log.debug(`Build Simulators: ${JSON.stringify(buildSimulators)}`);
const deviceTypes = await list.devicetypes;
console.log('DeviceTypes', deviceTypes);
for await (const device of buildSimulators) {
console.log('Device', device);
const productModel = IOSDeviceManager.getProductModel(deviceTypes, device);
const wdaLocalPort = await getFreePort();
const mjpegServerPort = await getFreePort();
const totalUtilizationTimeMilliSec = await getUtilizationTime(device.udid);
const modelInfo = this.findKeyByValue(productModel);
const modelInfo = this.findKeyByValue(productModel) || { Width: '', Height: '' };
returnedSimulators.push(
Object.assign({
...device,
Expand Down

0 comments on commit 3fbd816

Please sign in to comment.