Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 966e1cd

Browse files
committed
Apply old formatter to make CI check pass
1 parent 74f0a8f commit 966e1cd

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

ql/src/codeql_ruby/Variables.qll

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,18 @@ private predicate scopeDefinesParameter(VariableScope scope, string name, Locati
1818
exists(Identifier var |
1919
name = var.getValue() and
2020
location = var.getLocation() and
21-
var in [
22-
scope
23-
.(BlockScope)
24-
.getScopeElement()
25-
.getAFieldOrChild()
26-
.(BlockParameters)
27-
.getAFieldOrChild+(),
28-
scope
29-
.(MethodScope)
30-
.getScopeElement()
31-
.getAFieldOrChild()
32-
.(MethodParameters)
33-
.getAFieldOrChild+()
34-
]
21+
var in [scope
22+
.(BlockScope)
23+
.getScopeElement()
24+
.getAFieldOrChild()
25+
.(BlockParameters)
26+
.getAFieldOrChild+(),
27+
scope
28+
.(MethodScope)
29+
.getScopeElement()
30+
.getAFieldOrChild()
31+
.(MethodParameters)
32+
.getAFieldOrChild+()]
3533
)
3634
}
3735

0 commit comments

Comments
 (0)