Skip to content

Commit 4b700f6

Browse files
committed
Print every line, don’t join
Used Enum.map to trigger IO.puts instead of joining and printing in a single blob.
1 parent 65ddbfb commit 4b700f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/onigumo/parser.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ defmodule Onigumo.Parser do
77
root_path
88
|> File.ls!()
99
|> Enum.filter(fn filename -> Path.extname(filename) == ".raw" end)
10-
|> Enum.join("\n")
11-
|> IO.puts()
10+
|> Enum.map(&IO.puts(&1))
1211
end
1312
end

0 commit comments

Comments
 (0)