lang: Add edges to StmtProg output
I think I forgot to add these previously, and I think they should be part of the output now.
This commit is contained in:
@@ -1144,14 +1144,15 @@ func (obj *StmtIf) Output() (*interfaces.Output, error) {
|
||||
}
|
||||
|
||||
resources := []engine.Res{}
|
||||
edges := []*interfaces.Edge{}
|
||||
if output != nil {
|
||||
resources = append(resources, output.Resources...)
|
||||
//edges = output.Edges
|
||||
edges = append(edges, output.Edges...)
|
||||
}
|
||||
|
||||
return &interfaces.Output{
|
||||
Resources: resources,
|
||||
//Edges: edges,
|
||||
Edges: edges,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user