Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed Sep 11, 2023
1 parent 02d070e commit ece1e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnovm/cmd/gno/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ func execModTidy(args []string, io *commands.IO) error {
return err
}

// TODO: Use gm.AddRequire()
// Blocked by PR#1077
var requires []*modfile.Require

Check failure on line 204 in gnovm/cmd/gno/mod.go

View workflow job for this annotation

GitHub Actions / lint

Consider pre-allocating `requires` (prealloc)
for _, im := range imports {
requires = append(requires, &modfile.Require{
Expand Down

0 comments on commit ece1e87

Please sign in to comment.