Skip to content

Commit

Permalink
Merge pull request #545 from lukecotter/perf-timeline-parse-no-execution
Browse files Browse the repository at this point in the history
  • Loading branch information
lcottercertinia authored Dec 14, 2024
2 parents 6801dcb + 91a6e4d commit d31f3cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log-viewer/modules/parsers/ApexLogParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ export class ApexLogParser {
}

private *generateLogLines(log: string): Generator<LogLine> {
const start = log.match(/^.*EXECUTION_STARTED.*$/m)?.index ?? 0;
if (start > 0) {
const start = log.search(/^\d{2}:\d{2}:\d{2}.\d{1} \(\d+\)\|EXECUTION_STARTED$/m);
if (start > -1) {
log = log.slice(start);
}

Expand Down

0 comments on commit d31f3cd

Please sign in to comment.