Skip to content

Keep YAML warnings out of reference previews - #23

Merged
andyrewlee merged 1 commit into
mainfrom
fix/reference-preview-yaml-warnings
Dec 1, 2026
Merged

andyrewlee merged 1 commit into
mainfrom
fix/reference-preview-yaml-warnings

Conversation

@andyrewlee

Copy link
Copy Markdown
Contributor

Summary

  • Suppress source excerpts in YAML parser warnings while retaining rejection of malformed YAML, duplicate keys, and multiple documents.
  • Test successful and failed previews through the CLI in text and JSON, including checks that both input trees stay untouched.

Verification

  • bun run verify
  • git diff --check

@andyrewlee
andyrewlee merged commit cd8432c into main Dec 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant