Update javascript/ql/src/semmle/javascript/frameworks/Koa.qll

Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Esben Sparre Andreasen
2020-01-29 20:28:29 +01:00
committed by GitHub
parent a6d3afd817
commit 31743c42e5

View File

@@ -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()
}
}