From 55558120d98b89e45605964b367ad158a3a2b645 Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Wed, 14 Dec 2022 20:59:28 +0100 Subject: [PATCH] add explicit this --- javascript/ql/lib/semmle/javascript/frameworks/Spife.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/ql/lib/semmle/javascript/frameworks/Spife.qll b/javascript/ql/lib/semmle/javascript/frameworks/Spife.qll index c473eadd675..7435c23d8c2 100644 --- a/javascript/ql/lib/semmle/javascript/frameworks/Spife.qll +++ b/javascript/ql/lib/semmle/javascript/frameworks/Spife.qll @@ -49,15 +49,15 @@ module Spife { t.start() and result = this.getArgument(0).getALocalSource() or - exists(TypeBackTracker t2 | result = getHandlerDefinitions(t2).backtrack(t2, t)) + exists(TypeBackTracker t2 | result = this.getHandlerDefinitions(t2).backtrack(t2, t)) } DataFlow::SourceNode getHandlerDefinitions() { - result = getHandlerDefinitions(TypeBackTracker::end()) + result = this.getHandlerDefinitions(TypeBackTracker::end()) } DataFlow::SourceNode getHandlerByName(string name) { - result = getHandlerDefinitions().getAPropertySource(name) + result = this.getHandlerDefinitions().getAPropertySource(name) } DataFlow::SourceNode getHandlerByRoute(string method, string path) {