We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd3b2f6 commit bb262d8Copy full SHA for bb262d8
lib/mix/lib/mix/tasks/compile.elixir.ex
@@ -121,8 +121,8 @@ defmodule Mix.Tasks.Compile.Elixir do
121
dest = Mix.Project.compile_path(project)
122
srcs = project[:elixirc_paths]
123
124
- if not is_list(srcs) do
125
- Mix.raise(":elixirc_paths should be a list of paths, got: #{inspect(srcs)}")
+ if not (is_list(srcs) and Enum.all?(srcs, &is_binary/1)) do
+ Mix.raise(":elixirc_paths should be a list of string paths, got: #{inspect(srcs)}")
126
end
127
128
manifest = manifest()
0 commit comments