We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 96e3e00 + 38225d8 commit 565116bCopy full SHA for 565116b
Sources/XCLogParser/parser/IDEActivityLogSection+Parsing.swift
@@ -42,8 +42,7 @@ extension IDEActivityLogSection {
42
func groupedByTarget() -> IDEActivityLogSection {
43
// The only way to know if the structure is flatten is to check the first elements
44
// for the `(in target 'ABC' from project Project)` string
45
- let firstElements = subSections.prefix(15) // we only analyze up to the first 15 subsections
46
- let isFlatten = firstElements.contains { $0.getTargetFromCommand() != nil }
+ let isFlatten = subSections.contains { $0.getTargetFromCommand() != nil }
47
if isFlatten {
48
let mainTarget = "$MainTarget"
49
let targetsDictionary = subSections.reduce(
0 commit comments