Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiled_starters/elixir/lib/main.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule CLI do
case args do
["tokenize", filename] ->
# You can use print statements as follows for debugging, they'll be visible when running tests.
IO.puts("Logs from your program will appear here!")
IO.puts(:stderr, "Logs from your program will appear here!")

case File.read(filename) do
{:ok, file_contents} ->
Expand Down
2 changes: 1 addition & 1 deletion solutions/elixir/01-ry8/diff/lib/main.ex.diff
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
case args do
["tokenize", filename] ->
- # You can use print statements as follows for debugging, they'll be visible when running tests.
- IO.puts("Logs from your program will appear here!")
- IO.puts(:stderr, "Logs from your program will appear here!")
-
case File.read(filename) do
{:ok, file_contents} ->
Expand Down
2 changes: 1 addition & 1 deletion starter_templates/elixir/code/lib/main.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule CLI do
case args do
["tokenize", filename] ->
# You can use print statements as follows for debugging, they'll be visible when running tests.
IO.puts("Logs from your program will appear here!")
IO.puts(:stderr, "Logs from your program will appear here!")

case File.read(filename) do
{:ok, file_contents} ->
Expand Down