From bfe18181af17bad8983051a8983c4742c4c81d7e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 3 Mar 2025 11:26:25 +0100 Subject: [PATCH] fix(cli): not printing to std out --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index abe1751..0bc9dc9 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "embed" "encoding/json" "flag" + "fmt" "github.com/BurntSushi/toml" "github.com/anhgelus/golatt" "log/slog" @@ -191,5 +192,5 @@ func generateConfigFile(isToml bool) { if err != nil { panic(err) } - println(string(b)) + fmt.Println(string(b)) }