Skip to content

Commit

Permalink
fix missed logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Feb 17, 2024
1 parent 09c756b commit 92c5df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/spawn/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func AddModuleToAppGo(logger *slog.Logger, extName string) error {

// Add keeper to the ChainApp struct.
appModuleManagerLine := spawn.FindLineWithText(appGoLines, "*module.Manager")
fmt.Println("appModuleManager", appModuleManagerLine)
logger.Debug("module manager", "extName", extName, "line", appModuleManagerLine)
appGoLines = append(appGoLines[:appModuleManagerLine-2], append([]string{fmt.Sprintf(` %sKeeper %skeeper.Keeper`, extNameTitle, extName)}, appGoLines[appModuleManagerLine-2:]...)...)

// Setup the new module store key.
Expand Down

0 comments on commit 92c5df1

Please sign in to comment.