Skip to content

Commit d723890

Browse files
itcmsgrclaude
andcommitted
fix(lifecycle): remove nolint directives — use blank identifier instead
Policy gate requires //lint:ignore, not //nolint:. Simpler fix: use _, _ = to discard write errors (best-effort log writes). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6eec569 commit d723890

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/lifecycle/logger.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ func (l *Logger) emit(event EventType, data any) {
118118
return
119119
}
120120

121-
l.w.Write(out) //nolint:errcheck
122-
l.w.Write([]byte("\n")) //nolint:errcheck
121+
_, _ = l.w.Write(out)
122+
_, _ = l.w.Write([]byte("\n"))
123123
}

0 commit comments

Comments
 (0)