Skip to content

include() path resolution doesn't match documentation #69

Description

@dbohdan

The readme currently says,

include resolves views from relative path from executed ts / js file. (not from ejs template file).

This is either ambiguous phrasing or a mistake. Right now include calls renderFile, which calls Deno.open. Deno.open resolves paths relative to Deno.cwd(), not the template path or the executed file path. This means that changing the current directory though Deno.chdir breaks include.

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