fix(cli): not printing to std out

This commit is contained in:
Anhgelus Morhtuuzh 2025-03-03 11:26:25 +01:00
parent aa5a93e978
commit bfe18181af
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5

View file

@ -4,6 +4,7 @@ import (
"embed" "embed"
"encoding/json" "encoding/json"
"flag" "flag"
"fmt"
"github.com/BurntSushi/toml" "github.com/BurntSushi/toml"
"github.com/anhgelus/golatt" "github.com/anhgelus/golatt"
"log/slog" "log/slog"
@ -191,5 +192,5 @@ func generateConfigFile(isToml bool) {
if err != nil { if err != nil {
panic(err) panic(err)
} }
println(string(b)) fmt.Println(string(b))
} }