Skip to content

Commit

Permalink
DeprecatedWarnings: Check for type note
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBillgren committed Nov 24, 2022
1 parent 2c4a36f commit 47e54e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/XCLogParser/parser/Notice+Parser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ extension Notice {
return true
}
// Support for Swift and ObjC code marked as deprecated
if type == .swiftError || type == .swiftWarning || type == .projectWarning || type == .clangWarning {
if type == .swiftError || type == .swiftWarning || type == .projectWarning || type == .clangWarning || type == .note {
return text.contains(" deprecated:")
|| text.contains("was deprecated in")
|| text.contains("has been deprecated")
Expand Down

0 comments on commit 47e54e6

Please sign in to comment.