Skip to content

Commit

Permalink
fix: don't create config in home
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang committed Jan 11, 2024
1 parent 8b78b7b commit 7615ee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uniond/cmd/uniond/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import (
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
"github.com/spf13/cobra"
"github.com/spf13/pflag"

// this line is used by starport scaffolding # root/moduleImport

"union/app"
Expand Down Expand Up @@ -83,7 +84,7 @@ func NewRootCmd() (*cobra.Command, appparams.EncodingConfig) {
WithLegacyAmino(encodingConfig.Amino).
WithInput(os.Stdin).
WithAccountRetriever(types.AccountRetriever{}).
WithHomeDir(app.DefaultNodeHome).
WithHomeDir(tempDir()).
WithViper("")

rootCmd := &cobra.Command{
Expand Down

0 comments on commit 7615ee0

Please sign in to comment.