From 16fd7b81b84e2b79ee6f2ed5df4d60bd327d122b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BCbner?= Date: Sat, 25 May 2024 23:19:40 +0200 Subject: [PATCH] missing linebreaks in log --- cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 43a4b70..70c9a74 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -178,7 +178,7 @@ func handleArgs(input string, version string, serverDir string, host string) (*m archivePath := "" if web.IsValidHttpUrl(input) { - log.Printf("Downloading mrpack file from: %s", input) + log.Printf("Downloading mrpack file from: %s\n", input) file, err := web.DefaultClient.DownloadFile(input, serverDir, "") if err != nil { log.Fatalln(err.Error()) @@ -190,7 +190,7 @@ func handleArgs(input string, version string, serverDir string, host string) (*m archivePath = input } else { - log.Printf("Trying to resolve project id or slug: %s", input) + log.Printf("Trying to resolve project id or slug: %s\n", input) versions, err := modrinth.Client.GetProjectVersions(input, nil) if err != nil {