From 3f04b4dd40704b4458c2883f7dcecb6555b4073b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 2 May 2026 03:23:18 +0000 Subject: [PATCH] Remove spurious blank line in Decoder Finish method Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/cb72bac9-aa33-480e-83e9-2f59508694a7 Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com> --- tools/utils/streaming_base64/api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/utils/streaming_base64/api.go b/tools/utils/streaming_base64/api.go index 0af800b1e..6189dc00f 100644 --- a/tools/utils/streaming_base64/api.go +++ b/tools/utils/streaming_base64/api.go @@ -100,7 +100,6 @@ func (s *StreamingBase64Decoder) Decode(input []byte, output []byte) iter.Seq2[[ // Finish decoding the stream. Resets the decoder. Returned slice can be nil // if no leftover bytes are present. func (s *StreamingBase64Decoder) Finish() ([]byte, error) { - defer func() { s.num_leftover = 0 s.total_read = 0