Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1023 B != 1 kB #59

Closed
binarykitchen opened this issue Jan 29, 2015 · 4 comments
Closed

1023 B != 1 kB #59

binarykitchen opened this issue Jan 29, 2015 · 4 comments

Comments

@binarykitchen
Copy link

When I do

filesize(1023, {
    round: 0
})

it returns 1 kB but I expect 1023 B ... is this a bug or am I missing an option?

@avoidwork
Copy link
Owner

Bug, I'll see what's up.

@binarykitchen
Copy link
Author

good boy ;)

@avoidwork
Copy link
Owner

Sorry about that; just pushed to npm.

@binarykitchen
Copy link
Author

no need to be sorry, bugs are a very normal part in a hacker's life heh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants