Skip to content

Commit

Permalink
Update outputFns.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar committed Jun 25, 2024
1 parent d4b65f4 commit 332421b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/outputFns.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var _outputFns = new Map([
ow.template.addConditionalHelpers()
ow.template.addOpenAFHelpers()
ow.template.addFormatHelpers()
if (isUnDef(params.template) && isUnDef(params.templatepath)) _exit(-1, "For out=handlebars you need to provide a template=someFile.hbs or templatepath=...")
if (isUnDef(params.template) && isUnDef(params.templatepath)) _exit(-1, "For out=template you need to provide a template=someFile.hbs or templatepath=...")
params.templatedata = _$(params.templatedata, "templatedata").isString().default("@")
_print($t( isUnDef(params.template) ? $path(params.__origr, params.templatepath) : io.readFileString(params.template), $path(r, params.templatedata) ) )
}
Expand Down

0 comments on commit 332421b

Please sign in to comment.