Skip to content

Commit

Permalink
fix(go): -m
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Aug 22, 2024
1 parent 82263a7 commit 4c5c90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/go_mod/go.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var _ErrGoNotFound = errors.New("go not found")

func doGoList(ctx context.Context, dir string) (result []model.DependencyItem, e error) {
var logger = logctx.Use(ctx)
var cmd = exec.CommandContext(ctx, "go", "list", "-json", "all")
var cmd = exec.CommandContext(ctx, "go", "list", "-json", "-m", "all")
cmd.Dir = dir
stdout, e := cmd.StdoutPipe()
if e != nil {
Expand Down

0 comments on commit 4c5c90b

Please sign in to comment.