Skip to content

Commit

Permalink
log line number in flushReport
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Sep 18, 2024
1 parent e31d7bb commit 8b62286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function run(): Promise<void> {
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));
}
Expand Down

0 comments on commit 8b62286

Please sign in to comment.