diff --git a/lib/ui/import-progress.js b/lib/ui/import-progress.js index 69aa7fc..d754dd6 100644 --- a/lib/ui/import-progress.js +++ b/lib/ui/import-progress.js @@ -10,6 +10,6 @@ module.exports = function () { var importedFiles = importer.fileCount - 1 // counted before import finishes so -1 TODO: fix? var speed = importer.bytesImported * 1000 / (Date.now() - start) var progress = Math.round(importedBytes * 100 / importer.countStats.bytes) - return bar(progress) + ` ${importedFiles} of ${importer.countStats.files } ${importer.countStats.files === 1 ? 'file' : 'files'}` + ' (' + prettyBytes(speed) + '/s' + ')' + return bar(progress) + ` ${importedFiles} of ${importer.countStats.files} ${importer.countStats.files === 1 ? 'file' : 'files'}` + ' (' + prettyBytes(speed) + '/s' + ')' } }