summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid N. Welton <davidw@dedasys.com>2014-02-14 12:30:13 +0100
committerAndreas Stenius <git@astekk.se>2014-02-14 13:35:51 +0100
commit60d106055b713c939346013edc3dda77469294fe (patch)
treee56bdd054f9f23e686634c6de8143e3eaf160673
parentf7d62dee68c7c34866a5b4c5a17078dc4899cc9a (diff)
{ok, Module} is an acceptable return value from do_compile.
-rw-r--r--src/rebar_erlydtl_compiler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index df7186c..556e841 100644
--- a/src/rebar_erlydtl_compiler.erl
+++ b/src/rebar_erlydtl_compiler.erl
@@ -217,6 +217,8 @@ do_compile(Config, Source, Target, DtlOpts) ->
Opts) of
ok ->
ok;
+ {ok, _Mod} ->
+ ok;
{ok, _Mod, Ws} ->
rebar_base_compiler:ok_tuple(Config, Source, Ws);
{ok, _Mod, _Bin, Ws} ->