Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When parsing errors, return the stdin instead of an empty string with the --stdin #75

Closed
nym21 opened this issue Aug 31, 2023 · 2 comments

Comments

@nym21
Copy link

nym21 commented Aug 31, 2023

It breaks format pipelines (in my editor for example) by wiping the content of the whole file since the leptosfmt pipe returns an empty string.

It's only with the --stdin option, since it completely makes sense for other use cases to just show an error

@nym21 nym21 changed the title When parsing errors, return the stdin instead of nothing with the --stdin When parsing errors, return the stdin instead of an empty string with the --stdin Aug 31, 2023
@bram209
Copy link
Owner

bram209 commented Sep 8, 2023

hi, could you try the latest version (0.1.14)? This should be fixed in #78

@bram209
Copy link
Owner

bram209 commented Sep 8, 2023

I will close the issue for now, if the problem persists, please don't hesitate to reopen the issue

@bram209 bram209 closed this as completed Sep 8, 2023
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

No branches or pull requests

2 participants