You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 includecalls 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.
The text was updated successfully, but these errors were encountered:
The readme currently says,
This is either ambiguous phrasing or a mistake. Right now
include
callsrenderFile
, which callsDeno.open
.Deno.open
resolves paths relative toDeno.cwd()
, not the template path or the executed file path. This means that changing the current directory thoughDeno.chdir
breaksinclude
.The text was updated successfully, but these errors were encountered: