Skip to content

Commit 7b9e907

Browse files
committed
Solve bootstrap issues on mix compile.elixir
1 parent 6ce06d5 commit 7b9e907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ defmodule Mix.Tasks.Compile.Elixir do
158158
logger_config_app = Application.get_env(:logger, :compile_time_application)
159159

160160
try do
161-
Logger.configure(compile_time_application: app)
161+
Application.put_env(:logger, :compile_time_application, app)
162162
fun.()
163163
after
164-
Logger.configure(compile_time_application: logger_config_app)
164+
Application.put_env(:logger, :compile_time_application, logger_config_app)
165165
end
166166
end
167167

0 commit comments

Comments
 (0)