Skip to content

Conversation

grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Sep 29, 2025

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@grandizzy grandizzy marked this pull request as draft September 29, 2025 18:44
@grandizzy grandizzy changed the title fix(fmt): write file only if formatted, lock write fix(fmt): return file if source read from stdin Sep 30, 2025
@grandizzy grandizzy changed the title fix(fmt): return file if source read from stdin fix(fmt): return original if no diff when source read from stdin Sep 30, 2025
@grandizzy grandizzy requested a review from DaniPopes September 30, 2025 08:18
@grandizzy grandizzy marked this pull request as ready for review September 30, 2025 08:18
0xrusowsky
0xrusowsky previously approved these changes Sep 30, 2025
Copy link
Contributor

@0xrusowsky 0xrusowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grandizzy grandizzy changed the title fix(fmt): return original if no diff when source read from stdin fix(fmt): always return formatted when source read from stdin Sep 30, 2025
@grandizzy grandizzy merged commit 4a2ad17 into foundry-rs:master Sep 30, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Sep 30, 2025
@grandizzy grandizzy deleted the issue-11871 branch September 30, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Formatter integration in VS Code is broken (with latest nightly)
4 participants