Skip to content

Commit 1adda66

Browse files
committed
revert buffer.ts
1 parent 5e317c7 commit 1adda66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/buffer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ export function getReadableSize(input: number | Buffer | string, siUnits = true)
149149
let unitName = bytes === 1 ? 'byte' : units[unitIndex];
150150

151151
return (bytes / Math.pow(thresh, unitIndex)).toFixed(1).replace(/\.0$/, '') + ' ' + unitName;
152-
}
152+
}

0 commit comments

Comments
 (0)