From 15d29a14033f7738ffd4b6b06a3ca73a17d1cf0e Mon Sep 17 00:00:00 2001 From: Huanzo Date: Sun, 28 Nov 2021 17:26:44 +0100 Subject: [PATCH] fix indentation and cleanup --- aoc.jl | 6 +++--- src/day_1.jl | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) 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)