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 297bc83 commit 4a5c076Copy full SHA for 4a5c076
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.shell().error(":elixirc_paths should be a list of string paths, got: #{inspect(srcs)}")
126
end
127
128
manifest = manifest()
0 commit comments