Skip to content

Commit 31743c4

Browse files
esbenaerik-krogh
andauthored
Update javascript/ql/src/semmle/javascript/frameworks/Koa.qll
Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
1 parent a6d3afd commit 31743c4

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module Koa {
1111
*/
1212
class AppDefinition extends HTTP::Servers::StandardServerDefinition, InvokeExpr {
1313
AppDefinition() {
14-
// `app = new Koa()`
14+
// `app = new Koa()` / `app = Koa()`
1515
this = DataFlow::moduleImport("koa").getAnInvocation().asExpr()
1616
}
1717
}

0 commit comments

Comments
 (0)