Sv443 4 месяцев назад
Родитель
Сommit
9b716fd4c1
1 измененных файлов с 1 добавлено и 1 удалено
  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 {