summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) ->