Skip to content

Commit 501da3e

Browse files
Merge pull request #179 from MobileNativeFoundation/fix-deprecated-warnings-xcode14
DeprecatedWarnings: Check for type note
2 parents 2c4a36f + d358cd8 commit 501da3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/XCLogParser/parser/Notice+Parser.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ extension Notice {
187187
return true
188188
}
189189
// Support for Swift and ObjC code marked as deprecated
190-
if type == .swiftError || type == .swiftWarning || type == .projectWarning || type == .clangWarning {
190+
if type == .swiftError || type == .swiftWarning || type == .projectWarning || type == .clangWarning
191+
|| type == .note {
191192
return text.contains(" deprecated:")
192193
|| text.contains("was deprecated in")
193194
|| text.contains("has been deprecated")

0 commit comments

Comments
 (0)