Skip to content

Commit

Permalink
Use commands.NewEmptyConfig() instead of nil
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed Jul 27, 2023
1 parent 58f6ffa commit 791996d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnovm/cmd/gno/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func newModInitCmd() *commands.Command {
ShortUsage: "init [module-path]",
ShortHelp: "Initialize gno.mod file in current directory",
},
nil,
commands.NewEmptyConfig(),
func(_ context.Context, args []string) error {
return execModInit(args)
},
Expand Down

0 comments on commit 791996d

Please sign in to comment.