Some tweaks for beta

This commit is contained in:
Gregory Schier
2024-08-19 19:10:08 -07:00
parent 323e27a047
commit 0763c1b9b8
6 changed files with 20 additions and 13 deletions

View File

@@ -41,9 +41,9 @@ export function twig({
templateFunctions.map((fn) => {
const shortArgs =
fn.args
.slice(0, 2)
.slice(0, 1)
.map((a) => a.name)
.join(', ') + (fn.args.length > 2 ? ', …' : '');
.join(', ') + (fn.args.length > 1 ? ', …' : '');
return {
name: fn.name,
type: 'function',