diff --git a/.github/workflows/rule-validate.yml b/.github/workflows/rule-validate.yml index a3d56126fb3..b1409387b1d 100644 --- a/.github/workflows/rule-validate.yml +++ b/.github/workflows/rule-validate.yml @@ -285,7 +285,7 @@ jobs: match = match.replaceAll("#", "") let emls = match.split(seperatorRegex) console.log("Split EMLs: " + JSON.stringify(emls)) - allEMLsToSkip = allEMLsToSkip.concat(emls) + allEMLsToSkip = allEMLsToSkip.concat(emls.filter((s) => s !== "")) }); } }