Skip to content

Commit 6362884

Browse files
committed
Rust: Autoformat.
1 parent 43ac75e commit 6362884

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/ql/lib/codeql/rust/security/InsecureCookieExtensions.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ module InsecureCookie {
7171
if
7272
forex(DataFlow::Node argSourceNode, BooleanLiteralExpr argSourceValue |
7373
DataFlow::localFlow(argSourceNode, argNode) and
74-
argSourceValue = argSourceNode.asExpr().getExpr() |
74+
argSourceValue = argSourceNode.asExpr().getExpr()
75+
|
7576
argSourceValue.getTextValue() = "true"
7677
)
7778
then value = true // `true` flows to here

0 commit comments

Comments
 (0)