Fixing some issues found by the linter

This commit is contained in:
Imbus 2024-03-02 04:29:50 +01:00
parent c54eccc625
commit 7a12b946a6
3 changed files with 8 additions and 3 deletions

View file

@ -15,7 +15,7 @@ func main() {
conf, err := config.ReadConfigFromFile("config.toml")
if err != nil {
conf = config.NewConfig()
conf.WriteConfigToFile("config.toml")
_ = conf.WriteConfigToFile("config.toml")
}
// Pretty print the current config