Browse Source

fix: it broke

Sv443 6 tháng trước cách đây
mục cha
commit
9b716fd4c1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/dev/latency-test.ts

+ 1 - 1
src/dev/latency-test.ts

@@ -135,7 +135,7 @@ async function run() {
     times: reportTimes as LatencyTestReport["times"],
   };
 
-  const reportPath = join(reportsDirPath, `report_${new Date(testFinishTs).toISOString().replace(/[:/.]/g, "-").replace(/T/g, "_").replace(/-.+Z/, "")}.json`);
+  const reportPath = join(reportsDirPath, `report_${new Date(testFinishTs).toISOString().replace(/[:/.]/g, "-").replace(/T/g, "_").replace(/-\d+Z/, "")}.json`);
 
   try {
     try {