...
This commit is contained in:
@@ -15,7 +15,7 @@ import freeflowuniverse.herolib.core.playcmds
|
|||||||
|
|
||||||
fn playcmds_do(path string) ! {
|
fn playcmds_do(path string) ! {
|
||||||
mut plbook := playbook.new(path: path)!
|
mut plbook := playbook.new(path: path)!
|
||||||
playcmds.run(mut plbook, false)!
|
plbook = playcmds.run(plbook:plbook)!
|
||||||
}
|
}
|
||||||
|
|
||||||
fn do() ! {
|
fn do() ! {
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ pub fn plbook_run(cmd Command) !(&playbook.PlayBook, string) {
|
|||||||
|
|
||||||
dagu := cmd.flags.get_bool('dagu') or { false }
|
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)
|
// TODO: below gives Segmentation fault (core dumped)
|
||||||
// console.print_stdout(plbook.str())
|
// console.print_stdout(plbook.str())
|
||||||
|
|||||||
Reference in New Issue
Block a user