summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_mustache.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_mustache.erl b/src/rebar_mustache.erl
index eb82785..af8a342 100644
--- a/src/rebar_mustache.erl
+++ b/src/rebar_mustache.erl
@@ -266,7 +266,7 @@ remove_space_from_tail_impl(_, Size) ->
%% @doc Number to binary
-spec to_binary(number() | binary() | string()) -> binary() | string().
to_binary(Integer) when is_integer(Integer) ->
- integer_to_binary(Integer);
+ ec_cnv:to_binary(Integer);
to_binary(Float) when is_float(Float) ->
io_lib:format("~p", [Float]);
to_binary(X) ->