Skip to content

Commit 3db9d56

Browse files
committed
QL: Improve message for camel cazse query
1 parent 52fc2da commit 3db9d56

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ql/ql/src/queries/style/AcronymsShouldBeCamelCase.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ import codeql_ql.style.AcronymsShouldBeCamelCaseQuery
1414

1515
from string name, AstNode node
1616
where shouldBePascalCased(name, node, _)
17-
select node, "Acronyms should be PascalCase/camelCase"
17+
select node, "Acronyms in " + name + " should be PascalCase/camelCase"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| Test.qll:2:1:2:27 | ClasslessPredicate isXML | Acronyms should be PascalCase/camelCase |
2-
| Test.qll:8:1:10:15 | NewType TXMLElements | Acronyms should be PascalCase/camelCase |
3-
| Test.qll:10:3:10:15 | NewTypeBranch TXMLElement | Acronyms should be PascalCase/camelCase |
4-
| Test.qll:13:1:14:16 | NewType TIRFunction | Acronyms should be PascalCase/camelCase |
1+
| Test.qll:2:1:2:27 | ClasslessPredicate isXML | Acronyms in isXML should be PascalCase/camelCase |
2+
| Test.qll:8:1:10:15 | NewType TXMLElements | Acronyms in TXMLElements should be PascalCase/camelCase |
3+
| Test.qll:10:3:10:15 | NewTypeBranch TXMLElement | Acronyms in TXMLElement should be PascalCase/camelCase |
4+
| Test.qll:13:1:14:16 | NewType TIRFunction | Acronyms in TIRFunction should be PascalCase/camelCase |

0 commit comments

Comments
 (0)