Skip to content
Snippets Groups Projects
Commit 4df028aa authored by dsehnal's avatar dsehnal
Browse files

readAllLinesAsync fix

parent 47c2d153
Branches
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ namespace Tokenizer {
await chunkedSubtask(ctx, chunkSize, state, (chunkSize, state) => {
readLinesChunkChecked(state, chunkSize, tokens);
return state.position < state.length ? chunkSize : 0;
}, (ctx, state) => ctx.update({ message: 'Parsing...', current: state.position, max: length }));
}, (ctx, state) => ctx.update({ message: 'Parsing...', current: state.position, max: state.length }));
return tokens;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment