Skip to content

Commit

Permalink
fix: compact by topic check
Browse files Browse the repository at this point in the history
  • Loading branch information
simonecorsi committed Jul 6, 2022
1 parent 9dfa1f3 commit 01cfb39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ export async function main() {
}
);

const shouldCompactByTopic =
!!core.getInput('compact-by-topic') ||
core.getInput('compact-by-topic') === 'true';

if (shouldCompactByTopic) {
if (core.getInput('compact-by-topic') === 'true') {
const compactedByTopic = compactByTopic(results);
const byTopic = await renderer(
{
Expand Down

0 comments on commit 01cfb39

Please sign in to comment.