We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f8c97 commit 69e1dfaCopy full SHA for 69e1dfa
1 file changed
src/commands/previewAsset.ts
@@ -63,7 +63,7 @@ function registerPreview(context: vscode.ExtensionContext) {
63
64
// Format file size
65
const formatSize = (bytes: number) => {
66
- if (bytes === 0) return '0 B';
+ if (bytes === 0) { return '0 B'; }
67
const k = 1024;
68
const sizes = ['B', 'KB', 'MB', 'GB'];
69
const i = Math.floor(Math.log(bytes) / Math.log(k));
0 commit comments