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( {