Skip to content

Conversation

@trdthg
Copy link
Contributor

@trdthg trdthg commented Jul 11, 2025

If no sail files are found, then try to get source code from stdin.

When users edit file in the IDE, the modified content may not be immediately written back to the disk, so the content read directly using the sail -fmt xxx.sail command may differ from the actual content.

This PR allows us to format without having to read a file

@github-actions
Copy link

Test Results

   13 files     28 suites   0s ⏱️
  884 tests   884 ✅ 0 💤 0 ❌
4 113 runs  4 113 ✅ 0 💤 0 ❌

Results for commit 0b57fc3.

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