Skip to content

Commit 9596aeb

Browse files
committed
Format: getValue now on one line
1 parent 3c8bc96 commit 9596aeb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ruby/ql/lib/codeql/ruby/security/UnsafeDeserializationCustomizations.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ module UnsafeDeserialization {
179179
/**
180180
* Gets the value being assigned to `Oj.default_options`.
181181
*/
182-
DataFlow::Node getValue() {
183-
result = this.getArgument(0)
184-
}
182+
DataFlow::Node getValue() { result = this.getArgument(0) }
185183
}
186184

187185
/**
@@ -264,9 +262,7 @@ module UnsafeDeserialization {
264262
/**
265263
* Gets the value being assigned to `Ox.default_options`.
266264
*/
267-
DataFlow::Node getValue() {
268-
result = this.getArgument(0)
269-
}
265+
DataFlow::Node getValue() { result = this.getArgument(0) }
270266
}
271267

272268
/**

0 commit comments

Comments
 (0)