We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e317c7 commit 1adda66Copy full SHA for 1adda66
src/util/buffer.ts
@@ -149,4 +149,4 @@ export function getReadableSize(input: number | Buffer | string, siUnits = true)
149
let unitName = bytes === 1 ? 'byte' : units[unitIndex];
150
151
return (bytes / Math.pow(thresh, unitIndex)).toFixed(1).replace(/\.0$/, '') + ' ' + unitName;
152
-}
+}
0 commit comments