fixes #13: actor files can now be named use
Some checks failed
Build and Deploy / build-macos (push) Failing after 8s
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
Build and Deploy / build-linux (push) Has been cancelled

This commit is contained in:
2025-05-30 15:33:20 -05:00
parent fba05fa0fb
commit 66591e32b5
2 changed files with 1 additions and 1 deletions

View File

@@ -729,7 +729,7 @@ if (progDir && progDir !== '.') {
}
var progContent = io.slurp(prog)
var prog_script = `(function ${cell.args.program.name()}($_) { ${progContent} })`
var prog_script = `(function ${cell.args.program.name()}_start($_) { ${progContent} })`
var val = js.eval(cell.args.program, prog_script)($_)
if (val)
throw new Error('Program must not return anything');