summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-05-14 16:13:17 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-05-14 16:13:17 -0500
commitae19c6d59c829614bf2e5b92b5d9f0b0368a5166 (patch)
tree5e8d46387ef9b68621a5fc1f1ff5951c580002b9 /priv/templates/plugin.erl
parent763f33009ddca30e2230bf3dc0e5a010ec455359 (diff)
parentfe19e4f891db3807cb289ff50f8b29a9fa1487e3 (diff)
Merge pull request #429 from omarkj/omarkj-quote-atoms
Quote atoms to allow names to have dashes.
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 abf4648..018dd0e 100644
--- a/priv/templates/plugin.erl
+++ b/priv/templates/plugin.erl
@@ -1,9 +1,9 @@
--module({{name}}).
+-module('{{name}}').
-behaviour(provider).
-export([init/1, do/1, format_error/1]).
--define(PROVIDER, {{name}}).
+-define(PROVIDER, '{{name}}').
-define(DEPS, [app_discovery]).
%% ===================================================================