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 9797a46 commit 3f0608bCopy full SHA for 3f0608b
lib/mix/lib/mix/compilers/elixir.ex
@@ -264,7 +264,12 @@ defmodule Mix.Compilers.Elixir do
264
nil -> {[file], false}
265
end
266
267
- {source, sources} = List.keytake(sources, file, source(:source))
+ {source, sources} =
268
+ List.keytake(sources, file, source(:source)) ||
269
+ Mix.raise(
270
+ "Could not find source for #{inspect(file)}. Make sure the :elixirc_paths configuration " <>
271
+ "is a list of relative paths to the current project or absolute paths to external directories"
272
+ )
273
274
source =
275
source(
0 commit comments