Silence warning about unused paramters

This commit is contained in:
Felipe Sere
2016-04-25 22:43:20 +01:00
parent 135fc055ca
commit eaf55ba897

View File

@@ -1,5 +1,5 @@
defmodule Execute do
def run_module(module, callback \\ fn(result, koan) -> nil end) do
def run_module(module, callback \\ fn(_result, _koan) -> nil end) do
Enum.reduce_while(module.all_koans, :passed, fn(koan, _) ->
module
|> run_koan(koan)