Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
  • Loading branch information
Fdawgs authored Jan 10, 2025
1 parent c72b391 commit 57a1f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ async function fastifyView (fastify, opts) {
function readCallbackParser (page, html, localOptions) {
if ((type === 'ejs') && viewExt && !globalOptions.includer) {
globalOptions.includer = (originalPath, parsedPath) => ({
filename: parsedPath || join(templatesDir, originalPath + '.' + viewExt)
filename: parsedPath || join(templatesDir, originalPath + '.' + viewExt)
})

Check failure on line 289 in index.js

View workflow job for this annotation

GitHub Actions / test / Lint Code

Expected indentation of 6 spaces but found 8
}
if (localOptions) {
Expand Down

0 comments on commit 57a1f96

Please sign in to comment.