summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-11-30 20:16:33 -0600
committerTristan Sloughter <t@crashfast.com>2015-11-30 20:51:02 -0600
commit4935b8dc9979ae41bb67ec4fcb7ac5b175e2bd54 (patch)
tree4c376e67bfcb3e69d2041bf729ab15f1e9c81bd1 /src
parent2242daaec9d51cf649162f8950c9b52bb5d41370 (diff)
fetch eunit_formatters config not from the command args but from the config
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_eunit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index 9af2965..4078aa7 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -346,7 +346,7 @@ resolve_eunit_opts(State) ->
true -> set_verbose(EUnitOpts);
false -> EUnitOpts
end,
- case proplists:get_value(eunit_formatters, Opts, true) of
+ case proplists:get_value(eunit_formatters, EUnitOpts1, true) of
true -> custom_eunit_formatters(EUnitOpts1);
false -> EUnitOpts1
end.