We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1da9c commit 38849f7Copy full SHA for 38849f7
extensions/ql-vscode/src/common/jsonl-reader.ts
@@ -13,7 +13,7 @@ const doubleLineBreakRegexp = /\n\r?\n/;
13
export async function readJsonlFile<T>(
14
path: string,
15
handler: (value: T) => Promise<void>,
16
- logger?: { log: (message: string) => void },
+ logger?: BaseLogger,
17
): Promise<void> {
18
// Stream the data as large evaluator logs won't fit in memory.
19
// Also avoid using 'readline' as it is slower than our manual line splitting.
@@ -48,7 +48,7 @@ export async function readJsonlFile<T>(
48
return;
49
}
50
51
- void logger?.log(`Finishing parsing ${path}`);
+ void logger?.log(`Finished parsing ${path}`);
52
resolve();
53
});
54
stream.on("error", reject);
0 commit comments