Silence the gosec warning for the wizard's own log path

This commit is contained in:
Emil
2026-08-03 04:12:15 +03:00
parent 357ed34714
commit ea0fb8c595
@@ -333,6 +333,7 @@ func (s *Server) ensureVenvTaskRunner() {
// parseWorkerStats counts the structured agent events in the worker log.
func parseWorkerStats(logPath string) WorkerStats {
var stats WorkerStats
//nolint:gosec // G304: logPath is the wizard's own log file next to the config
raw, err := os.ReadFile(logPath)
if err != nil {
return stats