jguer 2 years ago
parent
commit
6cbf00c5a7
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pkg/dep/depGraph.go

+ 3 - 2
pkg/dep/depGraph.go

@@ -107,7 +107,9 @@ func NewGrapher(dbExecutor db.Executor, aurCache *metadata.AURCache,
 	}
 }
 
-func (g *Grapher) GraphFromTargets(ctx context.Context, graph *topo.Graph[string, *InstallInfo], targets []string) (*topo.Graph[string, *InstallInfo], error) {
+func (g *Grapher) GraphFromTargets(ctx context.Context,
+	graph *topo.Graph[string, *InstallInfo], targets []string,
+) (*topo.Graph[string, *InstallInfo], error) {
 	if graph == nil {
 		graph = topo.New[string, *InstallInfo]()
 	}
@@ -140,7 +142,6 @@ func (g *Grapher) GraphFromTargets(ctx context.Context, graph *topo.Graph[string
 		}
 	}
 
-	fmt.Println(graph)
 	return graph, nil
 }