summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/plugin.erl.dtl6
1 files changed, 3 insertions, 3 deletions
diff --git a/priv/templates/plugin.erl.dtl b/priv/templates/plugin.erl.dtl
index df92cf6..af85d7f 100644
--- a/priv/templates/plugin.erl.dtl
+++ b/priv/templates/plugin.erl.dtl
@@ -20,7 +20,7 @@ init(State) ->
{deps, ?DEPS}, % The list of dependencies
{example, "rebar {{name}}"}, % How to use the plugin
{opts, []} % list of options understood by the plugin
- {short_desc, {{desc}}},
+ {short_desc, "{{desc}}"},
{desc, ""}
]),
{ok, rebar_state:add_provider(State, Provider)}.
@@ -30,7 +30,7 @@ init(State) ->
do(State) ->
{ok, State}.
--spec format_error(any(), rebar_state:t()) -> {iolist(), rebar_state:t()}.
+-spec format_error(any()) -> iolist().
format_error(Reason, State) ->
- {io_lib:format("~p", [Reason]), State}.
+ io_lib:format("~p", [Reason]).