remove debug line

This commit is contained in:
Lili (Tlapka) 2021-07-01 13:07:35 +02:00
parent c8c3841794
commit 9995d7da49
1 changed files with 0 additions and 1 deletions

View File

@ -16,7 +16,6 @@ defmodule Parser do
def parse do def parse do
File.stream!("sunmoon_clothes.csv") File.stream!("sunmoon_clothes.csv")
|> CSV.decode!(headers: :true) |> CSV.decode!(headers: :true)
# |> Enum.each(fn x -> IO.inspect(x) end)
|> Enum.map(fn x -> %Clothes{game: x["game"], location: x["location"], name: x["name"], color: x["color"]} end) |> Enum.map(fn x -> %Clothes{game: x["game"], location: x["location"], name: x["name"], color: x["color"]} end)
|> Enum.each(fn x -> Repo.insert!(x) end) |> Enum.each(fn x -> Repo.insert!(x) end)
end end