-
Notifications
You must be signed in to change notification settings - Fork 176
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
Screenshot path is not calculated correctly for absolute paths #181
Comments
There is an additional issue to this. When using something like This will cause an issue for us in the v3.0 release of the Asciidoctor Gradle plugin (asciidoctor/asciidoctor-gradle-plugin#381) |
I have a local patched
This approach would seem to solve the immediate issue, ie. current |
Thanks @gitpitch , your workaround is working; had the same problem. I'm running the latest version of decktape i.e. 2.11.0 |
If I run something like
then the screenshot directory is calculated as
/path1/path2/
. I would not expect it to append the parent path fromindex.pdf
to the screenshot directory.The only way to get it work correctly atm, is to calculate the relative path from
/working/dir
back up to the filesystem root and then pass that as the screenshot directory and output to the same folder as where the PDF will be.The text was updated successfully, but these errors were encountered: