Skip to content

Commit c6c69d2

Browse files
authored
Print Error literal at the start of all error messages for better parsing from the logs (#260)
1 parent 700f06b commit c6c69d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simulationMain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function main() {
8282
console.error(`\n${red("⚠️⚠️⚠️ Command failed with:")}\n\n`);
8383

8484
for (let i = 0; i < errors.length; i++) {
85-
const idx = errors.length === 1 ? '' : `Error ${i + 1}) `;
85+
const idx = `Error${errors.length === 1 ? '' : ` ${i + 1})`} `;
8686
console.error(`\t${idx}${errors[i]}\n\n`);
8787
}
8888
}

0 commit comments

Comments
 (0)