fix(cli): not printing to std out
This commit is contained in:
parent
aa5a93e978
commit
bfe18181af
1 changed files with 2 additions and 1 deletions
3
main.go
3
main.go
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue