Skip to content

Commit a43741f

Browse files
authored
Fix --no-color not setting :ansi_enabled to false (#14229)
1 parent bdd569e commit a43741f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel/cli.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ defmodule Kernel.CLI do
301301
end
302302

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

0 commit comments

Comments
 (0)