Skip to content

Commit

Permalink
Fixed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Jan 8, 2024
1 parent 94cdbb7 commit 0fd2831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/graphviz/src/mill/main/graphviz/GraphvizTools.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import mill.define.NamedTask
import mill.eval.Graph
import org.jgrapht.graph.{DefaultEdge, SimpleDirectedGraph}
object GraphvizTools {
def apply(targets: Seq[NamedTask[Any]], rs: Seq[NamedTask[Any]], dest: os.Path): Seq[Nothing] = {
def apply(targets: Seq[NamedTask[Any]], rs: Seq[NamedTask[Any]], dest: os.Path): Seq[PathRef] = {
val transitive = Graph.transitiveTargets(rs.distinct)
val topoSorted = Graph.topoSorted(transitive)
val goalSet = rs.toSet
Expand Down

0 comments on commit 0fd2831

Please sign in to comment.