From 8b6228627d06b8bb514b6dfb099141bb18d706e6 Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Wed, 18 Sep 2024 17:16:14 +0200 Subject: [PATCH] log line number in flushReport --- src/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.ts b/src/run.ts index be2780c..78af9c8 100644 --- a/src/run.ts +++ b/src/run.ts @@ -40,7 +40,7 @@ async function run(): Promise { process.exit(); } console.log(`Line ${lineNo + 1} [${line.from} ${line.to} ${line.weight}] Round ${counter}:`); - flushReport.forEach(msg => { console.log(`${counter}: ${msg}`); }); + flushReport.forEach(msg => { console.log(`${lineNo}:${counter}: ${msg}`); }); console.log(); } while ((flushReport.length > 0) && (counter++ < NUM_ROUNDS_PER_LINE)); }