Skip to content

Commit

Permalink
fix: aoc_input.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jortrr authored Jul 19, 2024
1 parent 5f813e3 commit 991135c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aoc_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde_json::Value;
mod macros;

pub fn get(year: i32, day: u32) -> Vec<String> {
let aoc_json_cache_path = format!(".aocf/cache/aoc{}_{}.json", year, day);
let aoc_json_cache_path = format!(".aocf/cache/aoc{}_{:02}.json", year, day);
let aoc_json_cache = aocf::Aoc::load_json_from(&aoc_json_cache_path);
if aoc_json_cache.is_ok() {
let json_struct: Value =
Expand Down

0 comments on commit 991135c

Please sign in to comment.