Fix an annoying typo. (#65)

* Fix an annoying typo.

* Update extension.ts
This commit is contained in:
Oscar - Archived (I think) 2018-06-07 04:42:10 +10:00 committed by Crawl
parent 5e167a5f7f
commit 302a66a100

View file

@ -364,7 +364,7 @@ function getFileDetails(rawString): FileDetail {
obj.currentColumn = (window.activeTextEditor.selection.active.character + 1).toLocaleString(); obj.currentColumn = (window.activeTextEditor.selection.active.character + 1).toLocaleString();
} }
if (rawString.includes('{filesize}')) { if (rawString.includes('{filesize}')) {
const sizes = ['bytes', 'kb', 'mb', 'gb', 'tb']; const sizes = [' bytes', 'kb', 'mb', 'gb', 'tb'];
let currentDivision = 0; let currentDivision = 0;
let { size } = statSync(window.activeTextEditor.document.fileName); let { size } = statSync(window.activeTextEditor.document.fileName);
const originalSize = size; const originalSize = size;