From: Chan Kwan Yin <sofe2038@gmail.com>
Date: Thu, 10 Dec 2020 07:43:10 +0000 (+0800)
Subject: Fixed wrong argument order for AdventOfCode.Input.get!() (#4)
X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=c6eca39c2d86b2c39fe8f0d90cd3db2fd7b06849;p=advent-of-code-24-elixir.git

Fixed wrong argument order for AdventOfCode.Input.get!() (#4)
---

diff --git a/README.md b/README.md
index e5d6ee2..97a4138 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ defmodule Mix.Tasks.D01.P1 do
 
   @shortdoc "Day 01 Part 1"
   def run(args) do
-    input = AdventOfCode.Input.get!(2020, 1)
+    input = AdventOfCode.Input.get!(1, 2020)
 
     if Enum.member?(args, "-b"),
       do: Benchee.run(%{part_1: fn -> input |> part1() end}),