Skip to content

Commit

Permalink
Fix --no-color not setting :ansi_enabled to false (#14229)
Browse files Browse the repository at this point in the history
  • Loading branch information
teatwig authored Jan 26, 2025
1 parent bdd569e commit a43741f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/kernel/cli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ defmodule Kernel.CLI do
end

defp parse_argv([~c"--no-color" | t], config) do
Application.put_env(:elixir, :ansi_enabled, true)
Application.put_env(:elixir, :ansi_enabled, false)
parse_argv(t, config)
end

Expand Down

0 comments on commit a43741f

Please sign in to comment.