diff --git a/src/main.ts b/src/main.ts index 5f08761..b27724a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -71,7 +71,7 @@ async function run(): Promise { } if (hideOldComment) { - if (!previous) { + if (previous) { await minimizeComment(octokit, previous.id, hideClassify) } return