Skip to content

Commit f19ad8a

Browse files
authored
Merge pull request harshjv#25 from mateossh/master
Update measurement units
2 parents 1f2bbaa + 6a71174 commit f19ad8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const getHumanReadableSizeObject = (bytes) => {
3838
}
3939

4040
const K = 1024
41-
const MEASURE = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
41+
const MEASURE = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
4242
const i = Math.floor(Math.log(bytes) / Math.log(K))
4343

4444
return {

0 commit comments

Comments
 (0)