File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ private import codeql.ruby.frameworks.Pg
37
37
private import codeql.ruby.frameworks.Yaml
38
38
private import codeql.ruby.frameworks.Sequel
39
39
private import codeql.ruby.frameworks.Ldap
40
- private import codeql.ruby.frameworks.Jwt
40
+ private import codeql.ruby.frameworks.Jwt
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ module Jwt {
22
22
override DataFlow:: Node getKey ( ) { result = this .getArgument ( 1 ) }
23
23
24
24
override predicate signsPayload ( ) {
25
- not ( this .getKey ( ) .getConstantValue ( ) .isStringlikeValue ( "" ) or this .getKey ( ) .( DataFlow:: ExprNode ) .getConstantValue ( ) .isNil ( ) )
25
+ not (
26
+ this .getKey ( ) .getConstantValue ( ) .isStringlikeValue ( "" ) or
27
+ this .getKey ( ) .( DataFlow:: ExprNode ) .getConstantValue ( ) .isNil ( )
28
+ )
26
29
}
27
30
}
28
31
You can’t perform that action at this time.
0 commit comments