Skip to content

Commit

Permalink
Fix the sequence to save day0?.txt instead of day?.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Saelices <[email protected]>
  • Loading branch information
msaelices committed Oct 13, 2024
1 parent 52897bd commit f56bcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-inputs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ do
echo "Downloading input for day $DAY"
curl --silent --cookie cookies.txt \
"https://adventofcode.com/2023/day/$DAY/input" \
-o "day${DAY}.txt"
-o "day$(printf "%02d" $DAY).txt"
done

0 comments on commit f56bcaf

Please sign in to comment.