From 9e5208e5242a98189afeef63d89b7b3977d63d64 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Mon, 2 Dec 2024 13:39:04 -0600 Subject: [PATCH] log --- cmd/command_utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/command_utils.go b/cmd/command_utils.go index c53028b..1048725 100644 --- a/cmd/command_utils.go +++ b/cmd/command_utils.go @@ -228,13 +228,16 @@ func RunCLITest(t *testing.T, test CliTest, GoldenFolder string, executableName if idxOfOutputArg > -1 { outLocation = test.Args[idxOfOutputArg+1] _, err = os.Stat(outLocation) + fmt.Println(outLocation) if err != nil { // Check if the error is due to the file not existing if !os.IsNotExist(err) { assert.NoError(t, err) } + fmt.Println("here") } else { err = deleteLocalFiles(outLocation) + fmt.Println("deleting files") if err != nil { log.Fatal(err) }