mirror of
https://github.com/github/codeql.git
synced 2026-02-24 02:43:40 +01:00
Python: Autoformat everything
Of course, `StringLiteral` being much longer than `StrConst` meant a bunch of files changed formatting.
This commit is contained in:
@@ -88,7 +88,9 @@ module ServerSideRequestForgery {
|
||||
exists(BinaryExprNode add |
|
||||
add.getOp() instanceof Add and
|
||||
add.getRight() = this.asCfgNode() and
|
||||
not add.getLeft().getNode().(StringLiteral).getText().toLowerCase() in ["http://", "https://"]
|
||||
not add.getLeft().getNode().(StringLiteral).getText().toLowerCase() in [
|
||||
"http://", "https://"
|
||||
]
|
||||
)
|
||||
or
|
||||
// % formatting
|
||||
|
||||
Reference in New Issue
Block a user