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.
select
1 parent b61e094 commit 41c1e1aCopy full SHA for 41c1e1a
ql/ql/src/queries/style/AlertMessage.ql
@@ -64,7 +64,7 @@ private AstNode getSelectPart(Select sel, int index) {
64
String shouldHaveFullStop(Select sel) {
65
result =
66
max(AstNode str, int i |
67
- str.getParent*() = sel.getExpr(1) and str = getSelectPart(sel, i)
+ str.getParent*() = sel.getMessage() and str = getSelectPart(sel, i)
68
|
69
str order by i
70
) and
@@ -85,7 +85,7 @@ String shouldHaveFullStop(Select sel) {
85
String shouldStartCapital(Select sel) {
86
87
min(AstNode str, int i |
88
89
90
91
0 commit comments