mirror of
https://github.com/go-task/task.git
synced 2025-06-23 00:38:19 +02:00
feat: merger
This commit is contained in:
@ -140,7 +140,7 @@ func (r *Reader) include(node Node) error {
|
||||
}
|
||||
|
||||
// Create an edge between the Taskfiles
|
||||
err = r.graph.AddEdge(node.Location(), includeNode.Location())
|
||||
err = r.graph.AddEdge(node.Location(), includeNode.Location(), graph.EdgeData(include))
|
||||
if errors.Is(err, graph.ErrEdgeAlreadyExists) {
|
||||
edge, err := r.graph.Edge(node.Location(), includeNode.Location())
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user