config: golangci-lint cleanups.

This commit is contained in:
2025-11-14 22:53:02 -08:00
parent 4c1eb03671
commit eca3a229a4
2 changed files with 75 additions and 52 deletions

View File

@@ -64,11 +64,7 @@ func LoadFile(path string) error {
addLine(line)
}
if err = scanner.Err(); err != nil {
return err
}
return nil
return scanner.Err()
}
// LoadFileFor scans the ini file at path, loading the default section