From 275bdd6c04089353e879527e273b4a36cdff0218 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 5 May 2015 19:42:21 -0500 Subject: fix integer to binary conversion for pre17 releases --- src/rebar_mustache.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -> -- cgit v1.1