Sv443 преди 6 месеца
родител
ревизия
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 {