Remove the last exit from Display

This commit is contained in:
Felipe Sere
2016-04-27 20:59:51 +01:00
parent b01727f9b8
commit fb56540193
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
defmodule Display do
alias IO.ANSI
@current_dir File.cwd!
@no_value :ex_unit_no_meaningful_value
@progress_bar_length 30
@@ -7,7 +8,6 @@ defmodule Display do
def invalid_koan(koan, modules) do
koans_names = module_names(modules)
IO.puts("Did not find koan #{name(koan)} in " <> koans_names )
exit(:normal)
end
defp module_names(modules) do

View File

@@ -31,6 +31,7 @@ defmodule Mix.Tasks.Meditate do
koan
else
Display.invalid_koan(koan, Runner.modules)
exit(:normal)
end
end
end