summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-01-10 11:31:44 -0600
committerTristan Sloughter <t@crashfast.com>2016-01-10 11:31:44 -0600
commit3f7370f5fb10239a1f9b2ebe9f443de26e55ba67 (patch)
tree211302c2e05ff5b446a717dc8c52d05c328b2113 /priv/templates/plugin.erl
parent495097d9ff6afaf48b850da9b2da0f2e48b1e115 (diff)
parent3d0aa5e84a2b2a7158f1e4b2070fecd130a3e2bc (diff)
Merge pull request #1008 from ferd/unquote-templates
Unquote templates, add a warning instead.
Diffstat (limited to 'priv/templates/plugin.erl')
-rw-r--r--priv/templates/plugin.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/plugin.erl b/priv/templates/plugin.erl
index c6e5e40..218960d 100644
--- a/priv/templates/plugin.erl
+++ b/priv/templates/plugin.erl
@@ -1,8 +1,8 @@
--module('{{name}}').
+-module({{name}}).
-export([init/1]).
-spec init(rebar_state:t()) -> {ok, rebar_state:t()}.
init(State) ->
- {ok, State1} = '{{name}}_prv':init(State),
+ {ok, State1} = {{name}}_prv:init(State),
{ok, State1}.