Skip to content

Commit

Permalink
feat: make error codes into a markdown list in report
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusarich committed Nov 18, 2024
1 parent 75637cb commit c3cb8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/writeReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function writeReport(ctx: CompilerContext, pkg: PackageFileFormat) {
// Error Codes
w.write(`# Error Codes`);
Object.entries(abi.errors!).forEach(([t, abiError]) => {
w.write(`${t}: ${abiError.message}`);
w.write(`* ${t}: ${abiError.message}`);
});
w.append();

Expand Down

0 comments on commit c3cb8aa

Please sign in to comment.