summaryrefslogtreecommitdiff
path: root/src/rebar_prv_erlydtl_compiler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_erlydtl_compiler.erl')
-rw-r--r--src/rebar_prv_erlydtl_compiler.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_prv_erlydtl_compiler.erl b/src/rebar_prv_erlydtl_compiler.erl
index 18c6e20..8ae6d03 100644
--- a/src/rebar_prv_erlydtl_compiler.erl
+++ b/src/rebar_prv_erlydtl_compiler.erl
@@ -98,7 +98,7 @@
-export([init/1,
do/1,
- format_error/2]).
+ format_error/1]).
%% for internal use only
-export([info/2]).
@@ -146,9 +146,9 @@ do(Config) ->
true = code:set_path(OrigPath),
{Result, Config}.
--spec format_error(any(), rebar_state:t()) -> {iolist(), rebar_state:t()}.
-format_error(Reason, State) ->
- {io_lib:format("~p", [Reason]), State}.
+-spec format_error(any()) -> iolist().
+format_error(Reason) ->
+ io_lib:format("~p", [Reason]).
%% ===================================================================
%% Internal functions