diff --git a/commands/commit-count.js b/commands/commit-count.js index f0f705e..c4606e0 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -204,7 +204,7 @@ module.exports = { if (validDays.includes(formattedDay)) { dayMap.set(formattedDay, true); } - else { + else if (formattedDay != (monthName + ' ' + (new Date()).getDate().toString())) { invalidString += `${formattedDay}\n`; dayMap.set(formattedDay, false); }