...
This commit is contained in:
@@ -41,7 +41,7 @@ fn args_get(path string) !GeneratorArgs {
|
||||
|
||||
mut plbook := playbook.new(text: config_path.read()!) or { return error('failed to create playbook: ${err}') }
|
||||
|
||||
mut install_actions := plbook.actions_find(actor:'hero_code', name: 'generate_installer')!
|
||||
mut install_actions := plbook.find(filter: 'hero_code.generate_installer')!
|
||||
if install_actions.len > 0 {
|
||||
for install_action in install_actions {
|
||||
mut p := install_action.params
|
||||
@@ -65,7 +65,7 @@ fn args_get(path string) !GeneratorArgs {
|
||||
}
|
||||
}
|
||||
|
||||
mut client_actions := plbook.actions_find(actor:'hero_code', name: 'generate_client')!
|
||||
mut client_actions := plbook.find(filter: 'hero_code.generate_client')!
|
||||
if client_actions.len > 0 {
|
||||
for client_action in client_actions {
|
||||
mut p := client_action.params
|
||||
|
||||
Reference in New Issue
Block a user