Skip to content

Commit

Permalink
chore: Bump remote debugger (#2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Aug 8, 2024
1 parent 2519a01 commit c705a36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions lib/commands/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,9 @@ const helpers = {
* @returns {Promise<RemoteDebugger>}
*/
async getNewRemoteDebugger() {
let socketPath;
if (!this.isRealDevice()) {
socketPath = await /** @type {import('../driver').Simulator} */ (this.device).getWebInspectorSocket();
}
const socketPath = this.isRealDevice()
? undefined
: (await /** @type {import('../driver').Simulator} */ (this.device).getWebInspectorSocket() ?? undefined);
return createRemoteDebugger(
{
bundleId: this.opts.bundleId,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"appium-idb": "^1.6.13",
"appium-ios-device": "^2.5.4",
"appium-ios-simulator": "^6.1.7",
"appium-remote-debugger": "^12.0.1",
"appium-remote-debugger": "^12.0.3",
"appium-webdriveragent": "^8.9.0",
"appium-xcode": "^5.1.4",
"async-lock": "^1.4.0",
Expand Down

0 comments on commit c705a36

Please sign in to comment.