Removed extra new lines at the end of the output

This commit is contained in:
2024-06-09 10:30:55 +03:00
parent b90b869643
commit 24da6ce083
+2 -1
View File
@@ -183,7 +183,8 @@ func readConfig() {
} }
final += lastAsciiColor + line + "\n" final += lastAsciiColor + line + "\n"
} }
fmt.Println(final + "\033[0m") final = strings.TrimSpace(final)
fmt.Print(final + "\033[0m")
} }
func SetupFetchEnv() []string { func SetupFetchEnv() []string {