Skip to content

Commit b320b81

Browse files
committed
style(extension): biome format cdp.ts wait_for poll
1 parent 19a878a commit b320b81

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/extension/src/lib

‎packages/extension/src/lib/cdp.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ export async function cdpWaitFor(params: WaitForParams): Promise<{ ok: true }> {
212212
}>(tabId, "Runtime.evaluate", { expression: checkExpr, returnByValue: true });
213213
if (res.exceptionDetails) {
214214
throw new Error(
215-
res.exceptionDetails.exception?.description ?? res.exceptionDetails.text ?? "wait_for check failed",
215+
res.exceptionDetails.exception?.description ??
216+
res.exceptionDetails.text ??
217+
"wait_for check failed",
216218
);
217219
}
218220
if (res.result.value) return { ok: true };

0 commit comments

Comments
 (0)