Skip to content

Conversation

@wiktoriavh
Copy link
Member

No description provided.

@wiktoriavh wiktoriavh changed the title fix: update day range validation in checkAndCreateTodaysPost function fix: update day range to 12 days for advent of code Dec 8, 2025
}

if (day < 1 || day > 25) {
if (day < 1 || day > 12) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd personally extract these to something like START_DAY and END_DAY

@wiktoriavh wiktoriavh merged commit 0b0fe14 into main Dec 8, 2025
1 check passed
@wiktoriavh wiktoriavh deleted the fix/12-days-aoc branch December 8, 2025 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants