A CLI for publishing standard.site documents to ATProto sequoia.pub

fix(cli): only warn about missing cover image when one is specified #204

Open heaths.dev
targeting main from issue203
Open opened by heaths.dev
targeting main from issue203

sequoia publish warned "Cover image not found: undefined" for every post
without a cover image, since the else branch didn't check whether ogImage
was set. Extract getUnresolvedCoverImage() so the publish loop and verbose
output share the same check, and add unit tests for it.

Fixes #203

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Commits 1

fix(cli): only warn about missing cover image when one is specified
Sign up or Sign in to add to the discussion.