From ffe84add6799e67e0b4f5fbca2b0b6f1da87d363 Mon Sep 17 00:00:00 2001 From: "Heinz N. Gies" Date: Mon, 21 Sep 2015 21:40:04 +0200 Subject: Fix colors for bad and good args --- src/rebar_dialyzer_format.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_dialyzer_format.erl b/src/rebar_dialyzer_format.erl index ae5f6ef..5e84049 100644 --- a/src/rebar_dialyzer_format.erl +++ b/src/rebar_dialyzer_format.erl @@ -431,10 +431,11 @@ bad_pat(P) -> bad_arg(N, Args) -> - color_arg(N, g, Args). + color_arg(N, r, Args). good_arg(N, Args) -> - color_arg(N, r, Args). + color_arg(N, g, Args). + color_arg(N, C, Args) when is_integer(N) -> color_arg([N], C, Args); color_arg(Ns, C, Args) -> -- cgit v1.1