From 66309803543c8856a995825d659d4525decf9078 Mon Sep 17 00:00:00 2001 From: Harish Marri Date: Fri, 20 Sep 2024 22:28:19 +0530 Subject: [PATCH] fix merge conflicts --- cmd/omniflixhubd/cmd/root.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/omniflixhubd/cmd/root.go b/cmd/omniflixhubd/cmd/root.go index 73a6e25..79ceb94 100644 --- a/cmd/omniflixhubd/cmd/root.go +++ b/cmd/omniflixhubd/cmd/root.go @@ -5,7 +5,6 @@ import ( "fmt" "io" "os" - "path/filepath" "github.com/cosmos/cosmos-sdk/baseapp" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -183,14 +182,10 @@ func addModuleInitFlags(startCmd *cobra.Command) { } func tempDir() string { -<<<<<<< HEAD - dir := filepath.Join(os.TempDir(), "."+app.Name+"-temp") -======= dir, err := os.MkdirTemp("", "."+app.Name+"-temp") if err != nil { panic(fmt.Sprintf("failed creating temp directory: %s", err.Error())) } ->>>>>>> main defer os.RemoveAll(dir) return dir