Add parse error

This commit is contained in:
2023-12-11 11:19:19 +01:00
committed by Loris Perret
parent 31d20bfe2e
commit f0d9ac3337
5 changed files with 33 additions and 21 deletions

View File

@ -19,4 +19,11 @@ enum TrackerType: CaseIterable {
"firebase"
}
}
static func hasValidTarget(in targets: String) -> Bool {
for tracker in Self.allCases where targets.contains(tracker.value) {
return true
}
return false
}
}