mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-26 07:33:00 +00:00
stream-slice: fix percentage
This commit is contained in:
parent
97ab77e95e
commit
f5fe2873a6
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default async function(settings) {
|
|||
await next.serialise(stream_out, is_last);
|
||||
|
||||
// Update the user
|
||||
l.log(`Written ${(i - offset) + 1} / ${count} objects (~${percentage(i - offset, count).toFixed(2)}%)`);
|
||||
l.log(`Written ${(i - offset) + 1} / ${count} objects (~${percentage((i - offset) + 1, count).toFixed(2)}%)`);
|
||||
|
||||
// Don't go further than we need to
|
||||
if(is_last) break;
|
||||
|
|
Loading…
Reference in a new issue