From 49f66875e34ef186f183e370979ef751694d08b2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 6 Jul 2022 10:47:42 +0200 Subject: [PATCH] fix: compact by topic check --- src/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index f4249eae..92acc626 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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( {