summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-11-30 21:55:13 -0500
committerFred Hebert <mononcqc@ferd.ca>2015-11-30 21:55:13 -0500
commit4b9a0835af33fe9b4f3840c000a6a5fb8df3e180 (patch)
tree4c376e67bfcb3e69d2041bf729ab15f1e9c81bd1 /src
parenta025066940583a5a18f4b6d8e76fd02cebf8aff9 (diff)
parent4935b8dc9979ae41bb67ec4fcb7ac5b175e2bd54 (diff)
Merge pull request #949 from tsloughter/eunit_config
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.