Skip to content

Commit

Permalink
fix: fix failed ci
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed May 27, 2024
1 parent 6bb17a2 commit 5331226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/cmd_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"slices"
"strings"

"github.com/dominikbraun/graph"
"github.com/urfave/cli/v2"
"golang.org/x/mod/module"
"kcl-lang.io/kpm/pkg/client"
Expand Down Expand Up @@ -106,7 +107,7 @@ func KpmUpdate(c *cli.Context, kpmcli *client.KpmClient) error {
return reporter.NewErrorEvent(reporter.FailedUpdatingBuildList, err, "failed to update build list")
}

// get all the vertices in the graph
// get all the vertices in the graph
modules, err := graph.TopologicalSort(depGraph)
if err != nil {
return reporter.NewErrorEvent(reporter.FailedTopologicalSort, err, "failed to sort the dependencies")
Expand Down

0 comments on commit 5331226

Please sign in to comment.