Skip to content

Commit f51e846

Browse files
committed
JS: Fix ClosureModule implementation
1 parent 0f870a4 commit f51e846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/Closure.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module Closure {
127127

128128
pragma[nomagic]
129129
private MethodCallExpr googModuleDeclExprInContainer(StmtContainer container) {
130-
result.getReceiver() = googModuleDeclExpr() and
130+
result = googModuleDeclExpr() and
131131
container = result.getContainer()
132132
}
133133

0 commit comments

Comments
 (0)