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
doesn't work correctly with --stdin
and pretty-error
#739
Comments
Thanks for the report. It is an expected error because pretty-error read file content using
Current textlint/packages/@textlint/types/src/Message/TextlintResult.ts Lines 7 to 33 in 0e4c828
So, It is a current limitation. We have two options for improving this error.
2 is ideal, but It means that add file content to I have not an actual use case that adds file content to If there is another use-case, I'm ok that implement 2 of the options. |
unhandled exception occurred when
--stdin
andpretty-error
:It works fine if specified the file path directly:
Also it works fine if without
-f pretty-error
option:The text was updated successfully, but these errors were encountered: