From d7a892432eb5c1dbbca00ddf386bb8c7d73d9262 Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Wed, 11 Sep 2024 15:51:26 +0200 Subject: [PATCH] Run prettier on codebase --- client/src/client.js | 4 ++-- inspector/src/modules/request_history.ts | 4 ++-- rx-paired.mjs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/client.js b/client/src/client.js index 11b674a..54ab1d1 100644 --- a/client/src/client.js +++ b/client/src/client.js @@ -217,8 +217,8 @@ function init(currentScriptSrc, playerClass) { typeof window !== "object" ? null : typeof window.TextDecoder !== "function" - ? null - : window.TextDecoder; + ? null + : window.TextDecoder; const escape = window.escape; /** diff --git a/inspector/src/modules/request_history.ts b/inspector/src/modules/request_history.ts index 72fa316..74466b4 100644 --- a/inspector/src/modules/request_history.ts +++ b/inspector/src/modules/request_history.ts @@ -32,8 +32,8 @@ export default function generateRequestHistoryModule( mediaType === "audio" ? STATE_PROPS.AUDIO_REQUEST_HISTORY : mediaType === "video" - ? STATE_PROPS.VIDEO_REQUEST_HISTORY - : STATE_PROPS.TEXT_REQUEST_HISTORY; + ? STATE_PROPS.VIDEO_REQUEST_HISTORY + : STATE_PROPS.TEXT_REQUEST_HISTORY; let pendingRequestInfo: { element: HTMLElement; diff --git a/rx-paired.mjs b/rx-paired.mjs index e5907a7..1c36925 100755 --- a/rx-paired.mjs +++ b/rx-paired.mjs @@ -86,7 +86,7 @@ export default function startRxPaired({ } = {}) { const noPassword = typeof password !== "string" || password.length === 0; const serverOpts = { - inspectorPort: noInspector ? -1 : inspectorPort ?? DEFAULT_INSPECTOR_PORT, + inspectorPort: noInspector ? -1 : (inspectorPort ?? DEFAULT_INSPECTOR_PORT), devicePort: devicePort ?? DEFAULT_DEVICE_PORT, shouldCreateLogFiles: true, password: noPassword ? null : password,