Skip to content

Compile fails when provided an absolute path #1147

@rsv-code

Description

@rsv-code

When providing an absolute path outside of the application path, I get a file not found exception. I check the path prior though and this path exists. It appears that it's prepending a period to the path. I verified this is not being passed, it's being passed without the period. For now I've fixed this be reading the file myself and then calling compileInline instead.

java.io.FileNotFoundException: ./etc/hogan/apps/hogan-page-template.html

Running on PopOS Linux openjdk version "18.0.2-ea" 2022-07-19

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions