Skip to content

Conversation

0xrusowsky
Copy link
Contributor

@0xrusowsky 0xrusowsky commented Sep 26, 2025

closes #11841

@0xrusowsky 0xrusowsky changed the base branch from master to rusowsky/11835 September 26, 2025 14:47
@grandizzy
Copy link
Collaborator

I suggest we should leave not formatted in such case and prevent panic in offset as a6d1e22

Base automatically changed from rusowsky/11835 to master September 29, 2025 07:06
Copy link
Contributor Author

@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.

note that this only prevents the panic, but doesn't fix the underlying issue.

the output won't be properly formatted, as there won't be a line break with an offset, as what would happen with a unix compatible input file

@0xrusowsky 0xrusowsky closed this Sep 29, 2025
@github-project-automation github-project-automation bot moved this to Done in Foundry Sep 29, 2025
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.

fix(fmt): properly handle CRLF on windows files
2 participants