super-ienien/percent-round

ReferenceError: invalids is not defined

dmnsgn opened this issue · 3 comments

Sorry not entirely sure what input triggered the error, but in any case the belows object invalids is undefined.

if (idxs.size === percents.length) idxs = {size: invalids};

moment(["20", "30", "40", "30"]) passing string instead of number is actually the reason.

Hi thanks ! I will fix it

Fixed in v2.0.0