mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Change regex
This commit is contained in:
@@ -38,7 +38,7 @@ module Streamlit {
|
||||
private class StreamlitSqlConnection extends API::CallNode {
|
||||
StreamlitSqlConnection() {
|
||||
exists(StringLiteral str, API::CallNode n |
|
||||
str.getText().matches("sql")
|
||||
str.getText() = "sql"
|
||||
and
|
||||
n = API::moduleImport("streamlit").getMember("connection").getACall()
|
||||
and
|
||||
|
||||
Reference in New Issue
Block a user