Ensure that watcher does not try to run a module that is not a koan
This commit is contained in:
@@ -14,6 +14,10 @@ defmodule Runner do
|
||||
Tasks,
|
||||
]
|
||||
|
||||
def koan?(module) do
|
||||
Enum.member?(@modules, module)
|
||||
end
|
||||
|
||||
def run do
|
||||
Options.initial_koan
|
||||
|>run
|
||||
|
||||
Reference in New Issue
Block a user