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

CLI throws exception when rendering document from stdin #1105

Closed
robertpanzer opened this issue Aug 20, 2022 · 0 comments
Closed

CLI throws exception when rendering document from stdin #1105

robertpanzer opened this issue Aug 20, 2022 · 0 comments

Comments

@robertpanzer
Copy link
Member

After fixing #865 it was possible to read input from stdin and write the output to stdout or a file by running it with asciidoctorj -..
However, at some point a regression was introduced that resulted in still reading input from stdin and writing to stdout, but after that AsciidoctorJ still tries to interpret - as a file name and then writes an exception to stderr.

robertpanzer added a commit to robertpanzer/asciidoctorj that referenced this issue Aug 20, 2022
robertpanzer added a commit that referenced this issue Aug 20, 2022
Fixes #1105. Avoid throwing exception in CLI when reading input from …
robertpanzer added a commit that referenced this issue Aug 20, 2022
Fixes #1105. Avoid throwing exception in CLI when reading input from …
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

1 participant