diff --git a/src/index.ts b/src/index.ts index 15d793d..3f81470 100644 --- a/src/index.ts +++ b/src/index.ts @@ -154,10 +154,10 @@ function displayFilters(inputs) { return ` : ${inputs.filterOnlyUnread} : ${inputs.filterOnlyParticipating} - : ${inputs.filterIncludeReasons.join(", ")} - : ${inputs.filterExcludeReasons.join(", ")} - : ${inputs.filterIncludeRepositories.join(", ")} - : ${inputs.filterExcludeRepositories.join(", ")} + : ${inputs.filterIncludeReasons?.join(", ") || "[]"} + : ${inputs.filterExcludeReasons?.join(", ") || "[]"} + : ${inputs.filterIncludeRepositories?.join(", ") || "[]"} + : ${inputs.filterExcludeRepositories?.join(", ") || "[]"} ` }