Skip to content

Commit

Permalink
fix js error
Browse files Browse the repository at this point in the history
  • Loading branch information
guipublic committed Nov 27, 2024
1 parent 325e1ee commit ea0644b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ const computeContractDiff = (sourceReport, compareReport) => {
};
const formatMemoryReport = (memReports) => {
let markdown = "## Peak Memory Sample\n | Program | Peak Memory |\n | --- | --- |\n";
expect(memReports.length).toBeGreaterThan(0);
for (let i = 0; i < memReports.length; i++) {
markdown = markdown.concat(" | ", memReports[i].artifact_name, " | ", memReports[i].peak_memory, " |\n");
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ const computeContractDiff = (

export const formatMemoryReport = (memReports: MemoryReport[]): string => {
let markdown = "## Peak Memory Sample\n | Program | Peak Memory |\n | --- | --- |\n";
expect(memReports.length).toBeGreaterThan(0);
for (let i = 0; i < memReports.length; i++) {
markdown = markdown.concat(
" | ",
Expand Down

0 comments on commit ea0644b

Please sign in to comment.