diff --git a/src/lib/workflow.sh b/src/lib/workflow.sh index bd640e2..0e85de0 100644 --- a/src/lib/workflow.sh +++ b/src/lib/workflow.sh @@ -65,7 +65,7 @@ workflow_check_workflow_definition_path() { workflow_get_workflows_containers_names() { local workflow_definition_path="${1:-}" - local containers_names=() + local containers_names while IFS= read -r line; do containers_names+=("$line") done < <("$JQ" -r '.actions[].container' "${WILD_CWD}/${workflow_definition_path}")