Skip to content

Commit bfc9268

Browse files
committed
chore: dont truncate cli output
1 parent c1ea46f commit bfc9268

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

TheGreenEpochWeb/src/cli/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,11 @@ async function main() {
176176
console.log(` ${"REGION".padEnd(8)} ${"THR".padStart(4)} ${"CO₂↓".padStart(7)} ${"SCORE".padStart(7)} ${"OVERH".padStart(6)} ${"PAUSES".padStart(7)}`);
177177
console.log(` ${"──".repeat(20)}`);
178178

179-
for (const r of results.slice(0, 20)) {
179+
for (const r of results) {
180180
const status = r.ok ? "✓" : "✗";
181181
console.log(` ${r.region.padEnd(8)} ${String(r.thetaPause).padStart(4)} ${(r.co2SavingsPct + "%").padStart(7)} ${String(r.score).padStart(7)} ${(r.actualOverheadPct + "%").padStart(6)} ${String(r.numPauses).padStart(7)} ${status} ${r.scenario.slice(0, 36).padEnd(36)}`);
182182
}
183183

184-
if (results.length > 20) {
185-
console.log(` … and ${results.length - 20} more`);
186-
}
187-
188184
if (csvPath) {
189185
const cols: { key: keyof CliResult; header: string }[] = [
190186
{ key: "scenario", header: "scenario" },

0 commit comments

Comments
 (0)