chore(ci): fix biome formatting

main
Peter Steinberger 2025-12-20 20:33:27 +01:00
parent b36b20d246
commit fd151c4fc6
1 changed files with 8 additions and 2 deletions

View File

@ -196,7 +196,11 @@ export function registerBrowserAgentRoutes(
case "press": { case "press": {
const key = toStringOrEmpty(body.key); const key = toStringOrEmpty(body.key);
if (!key) return jsonError(res, 400, "key is required"); if (!key) return jsonError(res, 400, "key is required");
await pw.pressKeyViaPlaywright({ cdpPort, targetId: tab.targetId, key }); await pw.pressKeyViaPlaywright({
cdpPort,
targetId: tab.targetId,
key,
});
return res.json({ ok: true, targetId: tab.targetId }); return res.json({ ok: true, targetId: tab.targetId });
} }
case "hover": { case "hover": {
@ -465,7 +469,9 @@ export function registerBrowserAgentRoutes(
? "aria" ? "aria"
: req.query.format === "ai" : req.query.format === "ai"
? "ai" ? "ai"
: ((await getPwAiModule()) ? "ai" : "aria"); : (await getPwAiModule())
? "ai"
: "aria";
const limit = const limit =
typeof req.query.limit === "string" ? Number(req.query.limit) : undefined; typeof req.query.limit === "string" ? Number(req.query.limit) : undefined;