mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update javascript/ql/src/semmle/javascript/frameworks/Koa.qll
Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
committed by
GitHub
parent
a6d3afd817
commit
31743c42e5
@@ -11,7 +11,7 @@ module Koa {
|
||||
*/
|
||||
class AppDefinition extends HTTP::Servers::StandardServerDefinition, InvokeExpr {
|
||||
AppDefinition() {
|
||||
// `app = new Koa()`
|
||||
// `app = new Koa()` / `app = Koa()`
|
||||
this = DataFlow::moduleImport("koa").getAnInvocation().asExpr()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user