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 19beab2 commit 7d5389fCopy full SHA for 7d5389f
client/src/components/logViewer/logParser.ts
@@ -9,12 +9,9 @@ import {
9
isSourceCodeLineAfterLineWrapping,
10
} from "./ProblemProcessor";
11
12
-export function parseLog(
13
- logs: LogLine[],
14
- logStartFlag: string,
15
-): Problem[] | null {
+export function parseLog(logs: LogLine[], logStartFlag: string): Problem[] {
16
if (logs.length === 0 || logStartFlag.trim() === "") {
17
- return null;
+ return [];
18
}
19
20
// logs cleaning
0 commit comments