Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 9, 2024
1 parent fb85368 commit 0d7464a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
6 changes: 0 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,6 @@ function run() {
referenceContent !== null && referenceContent !== void 0 ? referenceContent : (referenceContent = compareContent); // if no source reports were loaded, defaults to the current reports
core.info("About to check memory reports");
const isMemoryReport = memory_report === "true";
core.info(`memory report: ${isMemoryReport}`);
core.info(`compareContent: ${compareContent}`);
core.info(`referenceContent: ${referenceContent}`);
if (isMemoryReport) {
core.info(`Format Memory markdown rows`);
const memoryContent = (0, report_1.memoryReports)(compareContent);
Expand All @@ -234,9 +231,6 @@ function run() {
}
else {
core.info(`Format Compilation report markdown rows`);
core.info(`Got here`);
core.info(`compareContent: ${compareContent}`);
core.info(`referenceContent: ${referenceContent}`);
const compilationContent = (0, report_1.compilationReports)(compareContent);
const referenceReports = (0, report_1.compilationReports)(referenceContent);
const markdown = (0, compilation_report_1.computeCompilationDiff)(referenceReports, compilationContent);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,8 @@ async function run() {
core.startGroup("Load reports");
referenceContent ??= compareContent; // if no source reports were loaded, defaults to the current reports
core.info("About to check memory reports");
const isMemoryReport = memory_report === "true";
core.info(`memory report: ${isMemoryReport}`);
core.info(`compareContent: ${compareContent}`);
core.info(`referenceContent: ${referenceContent}`);

const isMemoryReport = memory_report === "true";
if (isMemoryReport) {
core.info(`Format Memory markdown rows`);
const memoryContent = memoryReports(compareContent);
Expand All @@ -116,9 +113,6 @@ async function run() {
core.setOutput("markdown", markdown);
} else {
core.info(`Format Compilation report markdown rows`);
core.info(`Got here`);
core.info(`compareContent: ${compareContent}`);
core.info(`referenceContent: ${referenceContent}`);
const compilationContent = compilationReports(compareContent);
const referenceReports = compilationReports(referenceContent);
const markdown = computeCompilationDiff(referenceReports, compilationContent);
Expand Down

0 comments on commit 0d7464a

Please sign in to comment.