Skip to content

fix(fmt): report partial writes on errors - #159

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-partial-write-summary
Aug 3, 2026
Merged

fix(fmt): report partial writes on errors#159
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-partial-write-summary

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

rs fmt --write can modify valid files even when another file fails to format, but the CLI currently reports only the error and hides those writes. This PR tracks successful writes and emits a neutral summary for partial results while retaining the failing exit code and per-file errors.

Related Links

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e74a58d
Status: ✅  Deploy successful!
Preview URL: https://a3588ec6.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-fmt-partial-w.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 69493fa into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-fmt-partial-write-summary branch August 3, 2026 09:38
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