Skip to content

Commit

Permalink
missing linebreaks in log
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed May 25, 2024
1 parent 398cce4 commit 16fd7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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 {
Expand Down

0 comments on commit 16fd7b8

Please sign in to comment.