From 6979ac2b09c9710bf1519d6c7815dec433960763 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 5 Dec 2024 16:22:13 +0000 Subject: [PATCH] fix: simplify if condition --- semantic-release/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic-release/src/index.ts b/semantic-release/src/index.ts index 8bfbb3b..649b5d9 100644 --- a/semantic-release/src/index.ts +++ b/semantic-release/src/index.ts @@ -131,7 +131,7 @@ export async function main() { branches: inputs.branches, ci: inputs.ci, dryRun: inputs.dryRun, - }).filter(([, value]) => value !== undefined && value !== null), + }).filter(([, value]) => value != undefined), ), ); if (result) {