Skip to content

Commit

Permalink
Merge pull request #88 from kcmvp/empty
Browse files Browse the repository at this point in the history
#87: bug fix for initialization empty project
  • Loading branch information
kcmvp authored Jan 31, 2024
2 parents 743b73c + 8c4f4a1 commit 372fef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/todo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- https://github.com/ondrajz/go-callvis
- modgraphviz
- https://pkg.go.dev/golang.org/x/exp/cmd/modgraphviz
2 changes: 1 addition & 1 deletion internal/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func init() {
module: item[1],
cfg: sync.Map{},
}
cmd = exec.Command("go", "list", "-f", "{{if not .Standard}}{{.ImportPath}}{{end}}", "-deps")
cmd = exec.Command("go", "list", "-f", "{{if not .Standard}}{{.ImportPath}}{{end}}", "-deps", "./...")
output, err = cmd.Output()
if err != nil {
log.Fatal(color.RedString("Error: please execute command in project root directory"))
Expand Down

0 comments on commit 372fef5

Please sign in to comment.