fixup! diigo-cache: RSS in diigo's export shape, from cached items

compare-export.ts runs main only under import.meta.main (Node's
`if __name__ == "__main__"`), so importing it — say, from a test —
runs nothing.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-10-07 08:40:00 -05:00
1 parent dfd9a3d1ef
commit 21505a5b8f
1 file changed
+2 -1
+2 -1
View File
@@ -154,4 +154,5 @@ export function main(
exit(0);
}
main();
// run only as a program, not when imported (e.g. by a test)
if (import.meta.main) main();