chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -73,10 +73,8 @@ export function registerBrowserActionObserveCommands(
"How long to wait for the response (default: 20000)",
(v: string) => Number(v),
)
.option(
"--max-chars <n>",
"Max body chars to return (default: 200000)",
(v: string) => Number(v),
.option("--max-chars <n>", "Max body chars to return (default: 200000)", (v: string) =>
Number(v),
)
.action(async (url: string, opts, cmd) => {
const parent = parentOpts(cmd);
@@ -86,9 +84,7 @@ export function registerBrowserActionObserveCommands(
const result = await browserResponseBody(baseUrl, {
url,
targetId: opts.targetId?.trim() || undefined,
timeoutMs: Number.isFinite(opts.timeoutMs)
? opts.timeoutMs
: undefined,
timeoutMs: Number.isFinite(opts.timeoutMs) ? opts.timeoutMs : undefined,
maxChars: Number.isFinite(opts.maxChars) ? opts.maxChars : undefined,
profile,
});