From 154e81162e176dfa0bd609b1cd0c959742da25f2 Mon Sep 17 00:00:00 2001 From: cenfun Date: Mon, 1 Jul 2024 00:45:10 +0800 Subject: [PATCH] GC file cache --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 9e77a580..1b831216 100644 --- a/lib/index.js +++ b/lib/index.js @@ -142,7 +142,7 @@ class CoverageReport { } // GC, no OOM - this.fileCache = []; + this.fileCache.clear(); const { dataList, sourceCache } = inputData;