Skip to content

fix(fmt): handle unsupported files correctly - #181

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-unsupported-files
Aug 5, 2026
Merged

fix(fmt): handle unsupported files correctly#181
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-unsupported-files

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR fixes rs fmt summaries and exit handling when selected files have no supported parser. Unsupported files are excluded from the processed file count, and the command exits with code 2 when every matched file is unsupported. --no-error-on-unmatched-pattern remains limited to patterns that select no files.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: fae94c1
Status: ✅  Deploy successful!
Preview URL: https://3419f970.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-fmt-unsupport.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit f351f20 into main Aug 5, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-fmt-unsupported-files branch August 5, 2026 02:46
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