in astro/execution_set.go [33:50]
func (s executionSet) bindAll(userVars map[string]string) ([]*boundExecution, error) {
results := []*boundExecution{}
for _, e := range s {
unbound, ok := e.(*unboundExecution)
if !ok {
return nil, fmt.Errorf("cannot bind executions: %v not of type unboundExecution", e)
}
bound, err := unbound.bind(userVars)
if err != nil {
return nil, err
}
results = append(results, bound)
}
return results, nil
}