From 834b37abdae21976deddd396a7d9d2858e68f652 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 7 Mar 2024 23:46:19 -0500 Subject: [PATCH] Prevent EntryListGen errors from appearing in-line with header --- src/cli/entryList.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/entryList.go b/src/cli/entryList.go index 4aa7d6a..3b7b285 100644 --- a/src/cli/entryList.go +++ b/src/cli/entryList.go @@ -89,10 +89,10 @@ func EntryListGen() { // check for errors encountered while walking directory if err != nil { if os.IsNotExist(err) { - fmt.Println(offline.AnsiError + "The entry directory does not exist - run \"mutn init\" to create it" + offline.AnsiReset) + fmt.Println(offline.AnsiError + "\nThe entry directory does not exist - run \"mutn init\" to create it" + offline.AnsiReset) } else { // otherwise, print the source of the error - fmt.Println(offline.AnsiError + "An unexpected error occurred while generating the entry list: " + err.Error() + offline.AnsiReset) + fmt.Println(offline.AnsiError + "\nAn unexpected error occurred while generating the entry list: " + err.Error() + offline.AnsiReset) } os.Exit(1) }