Skip to content

Commit ae198ae

Browse files
committed
Skip consolidation flag check, as the path won't exist
1 parent e12211a commit ae198ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/mix/lib/mix/tasks/compile.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ defmodule Mix.Tasks.Compile do
163163
res
164164
end
165165

166-
with true <- config[:consolidate_protocols] and "--no-consolidate-protocols" not in args,
167-
path = Mix.Project.consolidation_path(config),
166+
with path = Mix.Project.consolidation_path(config),
168167
{:ok, protocols} <- File.ls(path) do
169168
# We don't cache consolidation path as we may write to it
170169
Code.prepend_path(path)

0 commit comments

Comments
 (0)