We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd4de8 commit 03aa566Copy full SHA for 03aa566
lib/elixir/src/elixir.erl
@@ -60,7 +60,7 @@ start(_Type, _Args) ->
60
{ok, _} -> ok;
61
undefined ->
62
%% Remove prim_tty module check as well as checks from scripts on Erlang/OTP 26
63
- ANSIEnabled = erlang:module_loaded(prim_tty) andalso prim_tty:isatty(stdout),
+ ANSIEnabled = erlang:module_loaded(prim_tty) andalso (prim_tty:isatty(stdout) == true),
64
application:set_env(elixir, ansi_enabled, ANSIEnabled)
65
end,
66
0 commit comments