Skip to content

Commit aa99403

Browse files
committed
fix: Increase the number of section to detect targets to 100
1 parent 7898b7b commit aa99403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/XCLogParser/parser/IDEActivityLogSection+Parsing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extension IDEActivityLogSection {
4242
func groupedByTarget() -> IDEActivityLogSection {
4343
// The only way to know if the structure is flatten is to check the first elements
4444
// for the `(in target 'ABC' from project Project)` string
45-
let firstElements = subSections.prefix(50) // we only analyze up to the first 15 subsections
45+
let firstElements = subSections.prefix(100)
4646
let isFlatten = firstElements.contains { $0.getTargetFromCommand() != nil }
4747
if isFlatten {
4848
let mainTarget = "$MainTarget"

0 commit comments

Comments
 (0)