From 1f2cc662ea9a79cf4f0a622c12b296cd152c1907 Mon Sep 17 00:00:00 2001 From: wonder Date: Thu, 18 Jun 2026 23:22:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20Clone()=20=E4=B8=AD?= =?UTF-8?q?=E8=BF=87=E6=97=A9=E8=A7=A6=E5=8F=91=E7=9A=84=20SSE=20complete?= =?UTF-8?q?=20=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/git.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/services/git.go b/services/git.go index c74c28b..d2fb4b7 100644 --- a/services/git.go +++ b/services/git.go @@ -137,13 +137,6 @@ func Clone(opts CloneOptions, progressFn func(event string, data interface{})) ( result.SizeBytes = dirSize(opts.Dir) - if progressFn != nil { - progressFn("complete", map[string]interface{}{ - "repo_id": filepath.Base(opts.Dir), - "size_bytes": result.SizeBytes, - }) - } - return result, nil }