Skip to content

Commit 97db13b

Browse files
QL: Also allow deprecated headers
1 parent 896eca6 commit 97db13b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/src/queries/style/docs/ClassDocs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ predicate badStyle(string s) {
1616
.replaceAll("*", "")
1717
.splitAt("\n")
1818
.trim()
19-
.matches(["A %", "An %", "The %", "INTERNAL"])
19+
.matches(["A %", "An %", "The %", "INTERNAL%", "DEPRECATED%"])
2020
}
2121

2222
from Class c

0 commit comments

Comments
 (0)