aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2016-02-16 11:51:01 -0600
committerTristan Sloughter <[email protected]>2016-02-16 11:51:01 -0600
commitb373b201e6d2c55333ef10de8db7c1d06fa65191 (patch)
tree310e157df4a595046ca96a9b87fad094f674186b /src/rlx_state.erl
parentef1921571bc5e4c3aec4d3b3f36b62efba01c3fd (diff)
parent0a029824e2d767b71f5f75f15b25861c49df1889 (diff)
downloadrelx-3.16.0.tar.gz
relx-3.16.0.tar.bz2
relx-3.16.0.zip
Merge pull request #446 from project-fifo/arghv3.16.0
Add low / high color mode
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r--src/rlx_state.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl
index 42cd730..a26546d 100644
--- a/src/rlx_state.erl
+++ b/src/rlx_state.erl
@@ -146,7 +146,9 @@ new(Config, CommandLineConfig, Targets)
{ok, Root} = file:get_cwd(),
Caller = proplists:get_value(caller, CommandLineConfig, api),
- Log = proplists:get_value(log, CommandLineConfig, ec_cmd_log:new(error, Caller)),
+ Log = proplists:get_value(
+ log, CommandLineConfig,
+ ec_cmd_log:new(error, Caller, rlx_util:intensity())),
State0 = #state_t{log=Log,
config_file=Config,
cli_args=CommandLineConfig,