We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8e980 commit db614bdCopy full SHA for db614bd
ql/ql/src/codeql_ql/style/MisspellingQuery.qll
@@ -52,8 +52,8 @@ bindingset[s]
52
string getACommentWord(string s) { result = s.regexpFind("\\b\\w+\\b", _, _) }
53
54
string getAWord(AstNode node, string kind) {
55
- result = getACommentWord(node.(QLDoc).getContents()).toLowerCase() and
56
- kind = "QLDoc comment"
+ result = getACommentWord(node.(Comment).getContents()).toLowerCase() and
+ kind = "comment"
57
or
58
exists(string nodeKind |
59
result = getACamelCaseWord(getName(node, nodeKind)).toLowerCase() and
0 commit comments