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

Skip to content

Commit 05d4858

Browse files
committed
autoformat
1 parent 1096cb0 commit 05d4858

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

javascript/ql/test/library-tests/HTML/HTMLElementAndHTMLAttribute/tests.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ query predicate htmlElement_getChild(HTML::Element elt, int i, HTML::Element chi
1717
query predicate htmlElement_getName(HTML::Element elt, string name) { name = elt.getName() }
1818

1919
query predicate htmlElement_getParent(HTML::Element elt, HTML::Element parent) {
20-
parent = elt.getParent()
21-
}
20+
parent = elt.getParent()
21+
}

javascript/ql/test/library-tests/LocalObjects/tests.ql

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ query predicate methodCallTypeInference(DataFlow::MethodCallNode call, string ty
1111
types = call.analyze().ppTypes()
1212
}
1313

14-
query predicate methodCallTypeInferenceUsage(DataFlow::MethodCallNode call, DataFlow::Node use, AbstractValue val) {
15-
call.flowsTo(use) and use != call and not exists(use.getASuccessor()) and
16-
val = use.analyze().getAValue()
14+
query predicate methodCallTypeInferenceUsage(
15+
DataFlow::MethodCallNode call, DataFlow::Node use, AbstractValue val
16+
) {
17+
call.flowsTo(use) and
18+
use != call and
19+
not exists(use.getASuccessor()) and
20+
val = use.analyze().getAValue()
1721
}

javascript/ql/test/library-tests/TypeScript/Types/tests.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ query predicate tupleTypes(Expr e, TupleType tuple, int n, Type element, int min
3131
rest = getRest(tuple)
3232
}
3333

34-
query predicate unknownType(Expr e,Type type) {
35-
type = e.getType() and
36-
e.getType() instanceof UnknownType
37-
}
34+
query predicate unknownType(Expr e, Type type) {
35+
type = e.getType() and
36+
e.getType() instanceof UnknownType
37+
}

0 commit comments

Comments
 (0)