Skip to content

Commit 55a1ab5

Browse files
committed
JS: Autoformat
1 parent bb858d3 commit 55a1ab5

File tree

1 file changed

+2
-6
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+2
-6
lines changed

javascript/ql/src/semmle/javascript/frameworks/Vue.qll

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ module Vue {
168168
* extended objects and mixins.
169169
*/
170170
pragma[nomagic]
171-
DataFlow::SourceNode getOptionSource(string name) {
172-
result = getOption(name).getALocalSource()
173-
}
171+
DataFlow::SourceNode getOptionSource(string name) { result = getOption(name).getALocalSource() }
174172

175173
/**
176174
* Gets the template element used by this instance, if any.
@@ -234,9 +232,7 @@ module Vue {
234232
* Gets the function responding to changes to the given `propName`.
235233
*/
236234
DataFlow::FunctionNode getWatchHandler(string propName) {
237-
exists(DataFlow::SourceNode watcher |
238-
watcher = getWatch().getAPropertySource(propName)
239-
|
235+
exists(DataFlow::SourceNode watcher | watcher = getWatch().getAPropertySource(propName) |
240236
result = watcher
241237
or
242238
result = watcher.getAPropertySource("handler")

0 commit comments

Comments
 (0)