Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Feb 3, 2017
1 parent a557a0c commit 1891f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/import-progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' + ')'
}
}

0 comments on commit 1891f76

Please sign in to comment.