diff --git a/aoc.jl b/aoc.jl index 6d055eb..b02c42e 100755 --- a/aoc.jl +++ b/aoc.jl @@ -25,9 +25,9 @@ end function _setup_aoc(year, day) path = _data_path(day) - if isfile(path) - return - end + if isfile(path) + return + end open(path, "w") do f write(f, _get_input(year, day)) end diff --git a/src/day_1.jl b/src/day_1.jl index 4da5d53..7f995d9 100644 --- a/src/day_1.jl +++ b/src/day_1.jl @@ -5,6 +5,8 @@ function p1(input) nothing end -p2(input) = nothing +function p2(input) + +end @aoc(2021, 1)