From 966e1cdcd09f012ebb888b48063a09e951d23af8 Mon Sep 17 00:00:00 2001 From: Tom Hvitved Date: Tue, 24 Nov 2020 11:26:47 +0100 Subject: [PATCH] Apply old formatter to make CI check pass --- ql/src/codeql_ruby/Variables.qll | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/ql/src/codeql_ruby/Variables.qll b/ql/src/codeql_ruby/Variables.qll index dbd33af1132..0cb83aaee41 100644 --- a/ql/src/codeql_ruby/Variables.qll +++ b/ql/src/codeql_ruby/Variables.qll @@ -18,20 +18,18 @@ private predicate scopeDefinesParameter(VariableScope scope, string name, Locati exists(Identifier var | name = var.getValue() and location = var.getLocation() and - var in [ - scope - .(BlockScope) - .getScopeElement() - .getAFieldOrChild() - .(BlockParameters) - .getAFieldOrChild+(), - scope - .(MethodScope) - .getScopeElement() - .getAFieldOrChild() - .(MethodParameters) - .getAFieldOrChild+() - ] + var in [scope + .(BlockScope) + .getScopeElement() + .getAFieldOrChild() + .(BlockParameters) + .getAFieldOrChild+(), + scope + .(MethodScope) + .getScopeElement() + .getAFieldOrChild() + .(MethodParameters) + .getAFieldOrChild+()] ) }