Skip to content

Commit e485a8b

Browse files
fix build
1 parent b6cfe5c commit e485a8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/xcodebuild.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export class XcodeBuild {
461461
}
462462

463463
const proxyTimeout = noSessionProxy.timeout;
464-
noSessionProxy.timeout = 1000;
464+
(noSessionProxy as any).timeout = 1000;
465465
try {
466466
currentStatus = (await noSessionProxy.command('/status', 'GET')) as StringRecord;
467467
if (currentStatus && currentStatus.ios && (currentStatus.ios as any).ip) {
@@ -472,7 +472,7 @@ export class XcodeBuild {
472472
} catch (err: any) {
473473
throw new Error(`Unable to connect to running WebDriverAgent: ${err.message}`);
474474
} finally {
475-
noSessionProxy.timeout = proxyTimeout;
475+
(noSessionProxy as any).timeout = proxyTimeout;
476476
}
477477
});
478478

0 commit comments

Comments
 (0)