Skip to content

Commit

Permalink
remove unused replacer
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Dec 13, 2024
1 parent c8e63da commit 34d3fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ignite/templates/typed/map/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func NewGenerator(replacer placeholder.Replacer, opts *typed.Options) (*genny.Ge
)

g.RunFn(protoRPCModify(opts))
g.RunFn(keeperModify(replacer, opts))
g.RunFn(keeperModify(opts))
g.RunFn(clientCliQueryModify(replacer, opts))
g.RunFn(genesisProtoModify(opts))
g.RunFn(genesisTypesModify(opts))
Expand Down Expand Up @@ -116,7 +116,7 @@ func NewGenerator(replacer placeholder.Replacer, opts *typed.Options) (*genny.Ge
}

// keeperModify modifies the keeper to add a new collections map type.
func keeperModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn {
func keeperModify(opts *typed.Options) genny.RunFn {
return func(r *genny.Runner) error {
path := filepath.Join(opts.AppPath, "x", opts.ModuleName, "keeper/keeper.go")
f, err := r.Disk.Find(path)
Expand Down

0 comments on commit 34d3fbb

Please sign in to comment.