-
Notifications
You must be signed in to change notification settings - Fork 172
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
Asciidoctorj gives error if input file is an absolute path #275
Comments
At least this is not the expected behaviour, we are going to check why this happens and fix it. Thank you very much for using asciidoctor. |
Ok, let me know if you need help to reproduce the problem or test the fix :) |
I get the same result. Seems to happen even for a simple invocation with an absolute path:
Results in:
|
Absolute paths are split into an absolute part without wildcards that serves as the root directory and a relative part containing wildcards or at least the file name. Relative paths are still handled as being reachable from current working dir.
Fixed in master, now we need to rebase to asciidoctorj1.6.0 branch. |
Absolute paths are split into an absolute part without wildcards that serves as the root directory and a relative part containing wildcards or at least the file name. Relative paths are still handled as being reachable from current working dir.
👍 |
Also fixed on asciidoctorj-1.6.0 with 0f9cb5b |
Hi,
I have error if I pass the input file as an absolute path, but using relative path everything is ok.
Asciidoctorj version (installed via GVM):
The failing command:
The input file exists:
The successful command (change only the input file path, from absolute to relative):
Is this expected?
Anyway, thanks a lot for this awesome tool!
Enrico
The text was updated successfully, but these errors were encountered: