Do some de-linting, but disable for now in goreleaser

This commit is contained in:
2025-04-25 11:13:48 +09:30
parent 0655700d15
commit d864a8c486
4 changed files with 8 additions and 8 deletions

View File

@@ -266,14 +266,14 @@ func (cs *ConfigService) LoadConfig() error {
path := cs.ConfigPath
b, err := os.ReadFile(path)
if err != nil {
return fmt.Errorf("Could not read config '%s': %v", path, err)
return fmt.Errorf("could not read config '%s': %v", path, err)
}
c := Config{}
cs.Config = &c
err = yaml.Unmarshal(b, &c)
if err != nil {
return fmt.Errorf("Could not parse YAML config '%s': %v", path, err)
return fmt.Errorf("could not parse YAML config '%s': %v", path, err)
}
// do migrations