mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
JS/Python/Ruby: update getInvalidModelKind
This commit is contained in:
@@ -663,14 +663,12 @@ module ModelOutput {
|
||||
or
|
||||
exists(string kind | sinkModel(_, _, kind) |
|
||||
not kind instanceof ValidSinkKind and
|
||||
not kind.matches("credentials-%") and
|
||||
not kind.matches("test-%") and
|
||||
result = "Invalid kind \"" + kind + "\" in sink model."
|
||||
)
|
||||
or
|
||||
exists(string kind | sourceModel(_, _, kind) |
|
||||
not kind instanceof ValidSourceKind and
|
||||
not kind.matches("qltest%") and
|
||||
result = "Invalid kind \"" + kind + "\" in source model."
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user