Skip to content

Commit 4f42675

Browse files
committed
JS: Autformat
1 parent 3ae33e3 commit 4f42675

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/UnvalidatedDynamicMethodCallCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module UnvalidatedDynamicMethodCall {
2121
*/
2222
DataFlow::FlowLabel getFlowLabel() { result = taint() }
2323
}
24-
24+
2525
/**
2626
* A data flow sink for unvalidated dynamic method calls.
2727
*/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import javascript
22
import ExampleConfiguration
33

4-
query predicate isBarrier(ExampleConfiguration cfg, DataFlow::Node n) {
5-
cfg.isBarrier(n)
6-
}
4+
query predicate isBarrier(ExampleConfiguration cfg, DataFlow::Node n) { cfg.isBarrier(n) }
75

8-
query predicate isLabeledBarrier(ExampleConfiguration cfg, DataFlow::Node n, DataFlow::FlowLabel label) {
6+
query predicate isLabeledBarrier(
7+
ExampleConfiguration cfg, DataFlow::Node n, DataFlow::FlowLabel label
8+
) {
99
cfg.isLabeledBarrier(n, label)
1010
}

0 commit comments

Comments
 (0)