From cff86b5c98255615ec79341b4cf50a2861b121e0 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto <25837540+dwisiswant0@users.noreply.github.com> Date: Sun, 3 Aug 2025 11:49:48 +0700 Subject: [PATCH] fix(events): correct JSON encoder type in `ScanStatsWorker` (#6366) Signed-off-by: Dwi Siswanto --- pkg/scan/events/stats_build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scan/events/stats_build.go b/pkg/scan/events/stats_build.go index 41901cc5a..7d03e42e5 100644 --- a/pkg/scan/events/stats_build.go +++ b/pkg/scan/events/stats_build.go @@ -25,7 +25,7 @@ type ScanStatsWorker struct { m *sync.Mutex directory string file *os.File - enc *json.Encoder + enc json.Encoder } // Init initializes the scan stats worker