Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/mix/lib/mix/tasks/compile.app.ex
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ defmodule Mix.Tasks.Compile.App do
end

defp to_erl_term(list) when is_list(list) do
[?[, to_erl_head(list), ?]]
if List.ascii_printable?(list) do
:io_lib.print(list)
else
[?[, to_erl_head(list), ?]]
end
end

defp to_erl_term(map) when is_map(map) do
Expand Down