Remove log group so logs are flattened

This commit is contained in:
Eric Song 2024-06-06 16:37:25 -04:00 committed by Eric Song
parent 78ed680850
commit 633e7df869
2 changed files with 0 additions and 4 deletions

2
dist/index.js generated vendored
View file

@ -343,12 +343,10 @@ class TestReporter {
const input = yield inputProvider.load(); const input = yield inputProvider.load();
for (const [reportName, files] of Object.entries(input)) { for (const [reportName, files] of Object.entries(input)) {
try { try {
core.startGroup(`Creating test report ${reportName}`);
const tr = yield this.createReport(parser, reportName, files); const tr = yield this.createReport(parser, reportName, files);
results.push(...tr); results.push(...tr);
} }
finally { finally {
core.endGroup();
} }
} }
const isFailed = results.some(tr => tr.result === 'failed'); const isFailed = results.some(tr => tr.result === 'failed');

View file

@ -111,11 +111,9 @@ class TestReporter {
const input = await inputProvider.load() const input = await inputProvider.load()
for (const [reportName, files] of Object.entries(input)) { for (const [reportName, files] of Object.entries(input)) {
try { try {
core.startGroup(`Creating test report ${reportName}`)
const tr = await this.createReport(parser, reportName, files) const tr = await this.createReport(parser, reportName, files)
results.push(...tr) results.push(...tr)
} finally { } finally {
core.endGroup()
} }
} }