Skip to content

Commit

Permalink
fix: python tree
Browse files Browse the repository at this point in the history
  • Loading branch information
reverse-direction-god committed Dec 27, 2024
1 parent f317940 commit 1d61ea8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/go_mod/gotree.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ func readGraphCmd(ctx context.Context, dir string, directDependencyList map[stri
logger.Debug("go: " + text)
}
stdout.Close()
cmd.Wait()
if err := cmd.Wait(); err != nil {
logger.Error(err.Error())
}
return dInfo, rootList, sonTree, nil
}

Expand Down

0 comments on commit 1d61ea8

Please sign in to comment.