Closed croogie closed 7 years ago
Let's consider scenario:
> filesize(100000000, { exponent: 2 }) '95.37 MB' > filesize(0, { exponent: 2 }) '0 B'
In second call you can see that even if exponent option has been passed a result is returned in bytes.
exponent
0 is currently a short circuit; fixing this is trivial 👍
Let's consider scenario:
In second call you can see that even if
exponent
option has been passed a result is returned in bytes.