mirror of
https://github.com/github/codeql.git
synced 2026-05-22 07:07:09 +02:00
Java: Update model validation to allow database kind for source models.
This commit is contained in:
@@ -289,7 +289,7 @@ module ModelValidation {
|
||||
or
|
||||
exists(string kind | sourceModel(_, _, _, _, _, _, _, kind, _) |
|
||||
not kind =
|
||||
["remote", "sql", "contentprovider", "android-widget", "android-external-storage-dir"] and
|
||||
["remote", "database", "contentprovider", "android-widget", "android-external-storage-dir"] and
|
||||
not kind.matches("qltest%") and
|
||||
result = "Invalid kind \"" + kind + "\" in source model."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user