From 60d106055b713c939346013edc3dda77469294fe Mon Sep 17 00:00:00 2001 From: "David N. Welton" Date: Fri, 14 Feb 2014 12:30:13 +0100 Subject: [PATCH] {ok, Module} is an acceptable return value from do_compile. --- src/rebar_erlydtl_compiler.erl | 2 ++ 1 file changed, 2 insertions(+) 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} ->