summaryrefslogtreecommitdiff
path: root/src/rebar_dialyzer_format.erl
diff options
context:
space:
mode:
authorHeinz N. Gies <heinz@licenser.net>2015-09-21 21:40:04 +0200
committerHeinz N. Gies <heinz@licenser.net>2015-09-21 21:40:12 +0200
commitffe84add6799e67e0b4f5fbca2b0b6f1da87d363 (patch)
treed7b92b49b30803a5b23a09d8967fcf09b1f93894 /src/rebar_dialyzer_format.erl
parentde7b8b84bff1987b9ae98442cdfcaa0c3f1230e0 (diff)
Fix colors for bad and good args
Diffstat (limited to 'src/rebar_dialyzer_format.erl')
-rw-r--r--src/rebar_dialyzer_format.erl5
1 files changed, 3 insertions, 2 deletions
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) ->