Skip to content

Commit 5555812

Browse files
authored
add explicit this
1 parent f46a8fa commit 5555812

File tree

1 file changed

+3
-3
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+3
-3
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Spife.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ module Spife {
4949
t.start() and
5050
result = this.getArgument(0).getALocalSource()
5151
or
52-
exists(TypeBackTracker t2 | result = getHandlerDefinitions(t2).backtrack(t2, t))
52+
exists(TypeBackTracker t2 | result = this.getHandlerDefinitions(t2).backtrack(t2, t))
5353
}
5454

5555
DataFlow::SourceNode getHandlerDefinitions() {
56-
result = getHandlerDefinitions(TypeBackTracker::end())
56+
result = this.getHandlerDefinitions(TypeBackTracker::end())
5757
}
5858

5959
DataFlow::SourceNode getHandlerByName(string name) {
60-
result = getHandlerDefinitions().getAPropertySource(name)
60+
result = this.getHandlerDefinitions().getAPropertySource(name)
6161
}
6262

6363
DataFlow::SourceNode getHandlerByRoute(string method, string path) {

0 commit comments

Comments
 (0)