Skip to content

Commit 69e1dfa

Browse files
committed
Fix warning
1 parent c1f8c97 commit 69e1dfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/previewAsset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function registerPreview(context: vscode.ExtensionContext) {
6363

6464
// Format file size
6565
const formatSize = (bytes: number) => {
66-
if (bytes === 0) return '0 B';
66+
if (bytes === 0) { return '0 B'; }
6767
const k = 1024;
6868
const sizes = ['B', 'KB', 'MB', 'GB'];
6969
const i = Math.floor(Math.log(bytes) / Math.log(k));

0 commit comments

Comments
 (0)