Skip to content

Commit 9383bc8

Browse files
authored
Merge pull request elixirkoans#229 from elixirkoans/replace-deprecated-function
Replace deprecated call to Code.load_file/1
2 parents 3bf0081 + 4d1c75a commit 9383bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/watcher.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule Watcher do
2424
if Path.extname(file) == ".ex" do
2525
try do
2626
file
27-
|> Code.load_file()
27+
|> Code.compile_file()
2828
|> Enum.map(&elem(&1, 0))
2929
|> Enum.find(&Runner.koan?/1)
3030
|> Runner.modules_to_run()

0 commit comments

Comments
 (0)