This commit is contained in:
2025-07-30 13:19:17 +02:00
parent bc92114918
commit d2bf58f514
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import freeflowuniverse.herolib.core.playcmds
fn playcmds_do(path string) ! {
mut plbook := playbook.new(path: path)!
playcmds.run(mut plbook, false)!
plbook = playcmds.run(plbook:plbook)!
}
fn do() ! {

View File

@@ -153,7 +153,7 @@ pub fn plbook_run(cmd Command) !(&playbook.PlayBook, string) {
dagu := cmd.flags.get_bool('dagu') or { false }
playcmds.run(mut plbook, dagu)!
plbook = playcmds.run(plbook:plbook)!
// TODO: below gives Segmentation fault (core dumped)
// console.print_stdout(plbook.str())