Skip to content

fix(fmt): skip malformed ignore patterns - #303

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-malformed-ignore-patterns
Aug 11, 2026
Merged

fix(fmt): skip malformed ignore patterns#303
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-malformed-ignore-patterns

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR prevents malformed Gitignore lines from aborting rs fmt, preserving the tolerant behavior of the previous JavaScript matcher. Invalid lines are skipped while valid rules in the same source continue to apply, with a regression test covering a dangling backslash.

Related Links

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7aff28f
Status: ✅  Deploy successful!
Preview URL: https://8a36c27f.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-malformed-ign.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit bfe9ffd into main Aug 11, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-malformed-ignore-patterns branch August 11, 2026 02:52
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