Skip to content

Commit 91bf3cc

Browse files
committed
Using Kernel.ParallelRequire.files to load in files for macros now
1 parent f05264c commit 91bf3cc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/elixir_script.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ defmodule ElixirScript do
108108
end
109109
end)
110110

111-
ex = Enum.flat_map(ex, fn(x) -> Code.load_file(x) end)
112-
|> Enum.map(fn({module, _}) -> module end)
113-
111+
ex = Kernel.ParallelRequire.files(ex)
114112
{exjs, ex}
115113
end
116114

0 commit comments

Comments
 (0)