Skip to content

Commit

Permalink
add reference
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed May 2, 2024
1 parent 1244a51 commit 2eebeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minitiad/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
}

func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, basicManager module.BasicManager) {
a := appCreator{nil, encodingConfig}
a := &appCreator{nil, encodingConfig}
// you can get app from a.app in post setup handler

rootCmd.AddCommand(
Expand Down

0 comments on commit 2eebeae

Please sign in to comment.