From 4935b8dc9979ae41bb67ec4fcb7ac5b175e2bd54 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 30 Nov 2015 20:16:33 -0600 Subject: fetch eunit_formatters config not from the command args but from the config --- src/rebar_prv_eunit.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1