covertool / covertool

Tool to convert Erlang cover data files into Cobertura XML reports
Other
75 stars 56 forks source link

Fix stringifying coverage rate to be OTP 21 compatible #41

Closed nalundgaard closed 6 years ago

nalundgaard commented 6 years ago

Resolves #39.

nalundgaard commented 6 years ago

@sile this works for me on OTP 21. It seems float_to_list/2 has been around since at least R16, so this seems safe and preferable to messing with io_lib.

sile commented 6 years ago

Thanks! By using nalundgaard:issue_39 branch, the execution of rebar3 covertool generatre command was successful in my local environment (OTP 21).