aboutsummaryrefslogtreecommitdiff
path: root/src/domains/readpage
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmail.com>2026-07-28 20:34:49 +0530
committerAman Kumar <145339995+amankumarsingh77@users.noreply.github.com>2026-08-02 19:12:46 +0530
commita9bdbd8590801cd9c2fa0cda6203948ac19a779c (patch)
tree060ced4709815f9415fc1172842ed25d97de545f /src/domains/readpage
parent34e5cfdcbe29bbb5f2f46ba54eb67903abd9274d (diff)
refactor: tidy the whitespace the comment removal left behind
Drops leading blank lines where a file header was removed, collapses double blank lines, and closes the empty catch/handler blocks whose only content had been a comment. Whitespace only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'src/domains/readpage')
-rw-r--r--src/domains/readpage/capture.ts1
-rw-r--r--src/domains/readpage/readability.ts1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/domains/readpage/capture.ts b/src/domains/readpage/capture.ts
index cf9d055..b0b7ae0 100644
--- a/src/domains/readpage/capture.ts
+++ b/src/domains/readpage/capture.ts
@@ -1,4 +1,3 @@
-
const BODY_TEXT_LIMIT = 20_000;
export const buildPageCaptureExpr = (): string => `
diff --git a/src/domains/readpage/readability.ts b/src/domains/readpage/readability.ts
index b20cacd..32413e6 100644
--- a/src/domains/readpage/readability.ts
+++ b/src/domains/readpage/readability.ts
@@ -1,4 +1,3 @@
-
export type ContentBlock = {
readonly kind: "paragraph" | "heading" | "listitem" | "blockquote" | "other";
readonly text: string;