aboutsummaryrefslogtreecommitdiff
path: root/src/cdp/discovery.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdp/discovery.ts')
-rw-r--r--src/cdp/discovery.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cdp/discovery.ts b/src/cdp/discovery.ts
index 7b67fe0..f33adc6 100644
--- a/src/cdp/discovery.ts
+++ b/src/cdp/discovery.ts
@@ -114,8 +114,7 @@ export const discoverEndpoint = async (): Promise<Result<CdpEndpoint, CdpError>>
raw = await readFile(portFile, "utf8");
try {
mtimeMs = (await stat(portFile)).mtimeMs;
- } catch {
- }
+ } catch {}
} catch (e) {
// EPERM/EACCES is common under sandboxes; remember it and fall back to network probing rather than failing the whole discovery.
const code = errnoCode(e);