aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-03 11:26:25 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-03 11:26:25 +0100
commitbfe18181af17bad8983051a8983c4742c4c81d7e (patch)
treed2522dd1a2db11c254b1045255ea7dc403b88c78 /main.go
parentaa5a93e978cf986bf39c3d0055e22efe0a1b50b0 (diff)
fix(cli): not printing to std out
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
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))
}