fix string comparison
This commit is contained in:
parent
31310f9d5f
commit
16105b8bc3
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ find_unticked_checkboxes() {
|
||||||
|
|
||||||
# Function to add aoc checkbox if it's December before the 24th
|
# Function to add aoc checkbox if it's December before the 24th
|
||||||
add_aoc_checkbox() {
|
add_aoc_checkbox() {
|
||||||
if [[ "$month" -eq "12" && "$day" -lt "25" ]]; then
|
if [[ "$month" == "12" && "$day" -lt "25" ]]; then
|
||||||
echo "- [ ] Advent of Code"
|
echo "- [ ] Advent of Code"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue