Skip to content

Skip broken symlink markdown files - #972

Open
puneetdixit200 wants to merge 1 commit into
charmbracelet:masterfrom
puneetdixit200:fix-broken-symlink-docs
Open

Skip broken symlink markdown files#972
puneetdixit200 wants to merge 1 commit into
charmbracelet:masterfrom
puneetdixit200:fix-broken-symlink-docs

Conversation

@puneetdixit200

Copy link
Copy Markdown

Fixes #836

Summary

  • Skip local markdown search results that no longer resolve, including dangling symlinks.
  • Continue scanning after a skipped local file instead of adding an empty document entry.
  • Add regression coverage for a broken .md symlink.

Testing

  • go test ./ui
  • go test ./...
  • git diff --check

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.

Glow chokes on broken symlinks

1 participant