Update python/ql/lib/semmle/python/frameworks/ServerLess.qll

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2023-07-12 16:50:13 +02:00
committed by GitHub
parent 02c41f3dcf
commit 76455d628e

View File

@@ -37,8 +37,7 @@ private Function getAServerlessHandler() {
(runtime = "" or runtime.matches("python%")) (runtime = "" or runtime.matches("python%"))
| |
mod.getFile() = file and mod.getFile() = file and
mod.getAnExport() = handler and result.getScope() = mod and
result.getEnclosingModule() = mod and
result.getName() = handler result.getName() = handler
) )
} }