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
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user