diff --git a/deno_dist/file-utils.ts b/deno_dist/file-utils.ts index d044bed..2059a1c 100644 --- a/deno_dist/file-utils.ts +++ b/deno_dist/file-utils.ts @@ -67,7 +67,7 @@ function getPath(path: string, options: EtaConfig) { // We can cache the result to avoid expensive // file operations. var pathOptions = JSON.stringify({ - filename: options.filename, + filename: options.filename, // filename of the template which called includeFile() path: path, root: options.root, views: options.views, diff --git a/src/file-utils.ts b/src/file-utils.ts index 44f9d80..87c4466 100644 --- a/src/file-utils.ts +++ b/src/file-utils.ts @@ -63,7 +63,7 @@ function getPath(path: string, options: EtaConfig) { // We can cache the result to avoid expensive // file operations. var pathOptions = JSON.stringify({ - filename: options.filename, + filename: options.filename, // filename of the template which called includeFile() path: path, root: options.root, views: options.views