mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Add avg case
This commit is contained in:
@@ -11,6 +11,6 @@
|
||||
import ql
|
||||
|
||||
from ExprAggregate agg
|
||||
where agg.getKind() = ["sum", "strictsum"]
|
||||
where agg.getKind() = ["sum", "strictsum", "avg"]
|
||||
select agg,
|
||||
"This " + agg.getKind() + " does not have a domain argument, so may produce surprising results."
|
||||
|
||||
Reference in New Issue
Block a user