summaryrefslogtreecommitdiff
path: root/src/rebar_dialyzer_format.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_dialyzer_format.erl')
-rw-r--r--src/rebar_dialyzer_format.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_dialyzer_format.erl b/src/rebar_dialyzer_format.erl
index 9299b1a..d75c914 100644
--- a/src/rebar_dialyzer_format.erl
+++ b/src/rebar_dialyzer_format.erl
@@ -5,7 +5,6 @@
-export([format/1]).
-
format(Warning) ->
Str = try
format_warning(Warning, fullpath)
@@ -26,9 +25,9 @@ strip(Warning) ->
string:strip(Warning, right, $\n).
fmt(Fmt) ->
- rebar_colour:format(Fmt, []).
+ cf:format(Fmt, []).
fmt(Fmt, Args) ->
- rebar_colour:format(Fmt, Args).
+ cf:format(Fmt, Args).
format_warning({Tag, {File, Line, _MFA}, Msg}, FOpt) ->
format_warning({Tag, {File, Line}, Msg}, FOpt);