summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wernick <j.wernick@eyeo.com>2024-09-13 14:47:50 +0200
committerJustin Wernick <j.wernick@eyeo.com>2024-09-13 14:47:50 +0200
commita85255e0a182817b3de724527a0d0fb26619809f (patch)
tree3d6e21837df99d9763dab82793bf63e5e6e6524d
parent414ae1f4fbbe7dfe1f9d10f4da2145b88d0cd59d (diff)
Removed unnecessary parameters
-rw-r--r--2015/day2.exs2
-rw-r--r--2015/day5.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/2015/day2.exs b/2015/day2.exs
index 47a00ec..faebaf0 100644
--- a/2015/day2.exs
+++ b/2015/day2.exs
@@ -1,4 +1,4 @@
-stream = File.stream!("inputs/day2.txt", :line, [:read])
+stream = File.stream!("inputs/day2.txt")
materials =
for line <- stream, into: [] do
diff --git a/2015/day5.exs b/2015/day5.exs
index 4e253c8..fa9cdf8 100644
--- a/2015/day5.exs
+++ b/2015/day5.exs
@@ -1,4 +1,4 @@
-santasList = File.stream!("inputs/day5.txt", [], :line)
+santasList = File.stream!("inputs/day5.txt")
niceVowelRegex = ~r/[aeiou].*[aeiou].*[aeiou]/
niceDuplicateRegex = ~r/(.)\1/