From 549ff5bf4bc5fac15202c39612da1d7c69b5e99c Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Wed, 7 Oct 2026 09:39:00 -0500 Subject: [PATCH] fixup! diigo-cache: RSS in diigo's export shape, from cached items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit compare-export.ts: exit 2 on bad usage is an external convention, so its @file cites the source (Bash Reference Manual ยง3.7.5, Exit Status). Generated-by: Claude Opus 5.5 --- diigo-cache/scripts/compare-export.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/diigo-cache/scripts/compare-export.ts b/diigo-cache/scripts/compare-export.ts index 7e17199..30dc44e 100644 --- a/diigo-cache/scripts/compare-export.ts +++ b/diigo-cache/scripts/compare-export.ts @@ -8,7 +8,9 @@ * the export, keyed on link: title, tags, description, highlights and * sticky notes. Prints counts to stdout; writes /from-cache.rss * and /report.json (mismatched links, by category). Exits 2 on - * bad usage. + * bad usage, the shell's convention. + * + * @see https://www.gnu.org/software/bash/manual/html_node/Exit-Status.html */ import * as nodeFs from "node:fs/promises"; import { basename, join } from "node:path";