mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Python: Autoformat
This commit is contained in:
@@ -51,8 +51,7 @@ string callName(Nameable call) {
|
||||
}
|
||||
|
||||
string configName(ProtocolConfiguration protocolConfiguration) {
|
||||
result =
|
||||
"call to " + callName(protocolConfiguration.(DataFlow::CallCfgNode).getFunction())
|
||||
result = "call to " + callName(protocolConfiguration.(DataFlow::CallCfgNode).getFunction())
|
||||
or
|
||||
not protocolConfiguration instanceof DataFlow::CallCfgNode and
|
||||
not protocolConfiguration instanceof ContextCreation and
|
||||
|
||||
@@ -122,7 +122,5 @@ DataFlow::Node execute() { execute(DataFlow::TypeTracker::end()).flowsTo(result)
|
||||
private class ExecuteCall extends SqlExecution::Range, DataFlow::CallCfgNode {
|
||||
ExecuteCall() { this.getFunction() = execute() }
|
||||
|
||||
override DataFlow::Node getSql() {
|
||||
result in [this.getArg(0), this.getArgByName("sql")]
|
||||
}
|
||||
override DataFlow::Node getSql() { result in [this.getArg(0), this.getArgByName("sql")] }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user