fix: fix hero mdbook command

This commit is contained in:
2025-01-14 15:34:02 +02:00
parent 6a3e3a1177
commit de102f33d9
3 changed files with 3 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ fn cmd_mdbook_execute(cmd Command) ! {
mut plbook, _ := plbook_run(cmd)!
// get name from the book.generate action
if name == '' {
mut a := plbook.action_get(actor: 'mdbook', name: 'define')!
mut a := plbook.action_get(actor: 'book', name: 'define')!
name = a.params.get('name') or { '' }
}
} else {