Skip to content

Commit 329d950

Browse files
committed
fix(cmd): staticcheck QF1012
AI-Generated: true AI-Model: claude-sonnet-4 Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
1 parent 341ea82 commit 329d950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/firmware-action/logging/pretty_handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ func (h *PrettyHandler) Handle(ctx context.Context, r slog.Record) error {
185185

186186
switch val.(type) {
187187
case bool:
188-
details.WriteString(fmt.Sprintf(" - %s: %t\n", key, val))
188+
fmt.Fprintf(&details, " - %s: %t\n", key, val)
189189
default:
190-
details.WriteString(fmt.Sprintf(" - %s: %s\n", key, val))
190+
fmt.Fprintf(&details, " - %s: %s\n", key, val)
191191
}
192192
}
193193

0 commit comments

Comments
 (0)