Skip to content

Commit

Permalink
Fix typo which prevents finding templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Jun 19, 2024
1 parent 076d915 commit 9b2a3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/templates.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ template_candidates <- function(type, name, ext = ".html", pkg = list()) {
templates_dir <- function(pkg = list(), call = caller_env()) {
config_pluck_list(pkg, "template")
path <- config_pluck_string(pkg, "template.path")
package <- config_pluck_string(pkg, "templates.package")
package <- config_pluck_string(pkg, "template.package")

if (!is.null(path)) {
if (!dir_exists(path)) {
Expand Down

0 comments on commit 9b2a3d6

Please sign in to comment.