From 7ba9385c8bb1642a44d044783a62e8dd1c296020 Mon Sep 17 00:00:00 2001 From: Aleksandr Mezin Date: Sat, 25 Nov 2023 14:23:10 +0200 Subject: [PATCH] Fix condition --- cleanup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanup.js b/cleanup.js index fe4a618..e24e233 100755 --- a/cleanup.js +++ b/cleanup.js @@ -236,7 +236,7 @@ async function main() { async version => { octokit.log.debug(`Processing ${version.displayImage}`); const ref = await getRefName(version); - return ref && refs.includes(ref); + return ref && !refs.includes(ref); }, concurrencyOptions, );