JS/Python/Ruby: update getInvalidModelKind

This commit is contained in:
Jami Cogswell
2023-06-02 17:00:39 -04:00
parent 615f2a573b
commit 254e447923
3 changed files with 0 additions and 6 deletions

View File

@@ -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."
)
}