Skip to content

Commit 8af2138

Browse files
authored
Merge pull request github#11518 from RasmusWL/fix-call-graph-meta-query
Python: Fix `py/meta/points-to-call-graph`
2 parents 2976daa + d47b326 commit 8af2138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/meta/analysis-quality/CallGraph.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ from DataFlowCall c, DataFlowCallableValue f
1616
where
1717
c.getCallable() = f and
1818
not c.getLocation().getFile() instanceof IgnoredFile and
19-
not f.getLocation().getFile() instanceof IgnoredFile
19+
not f.getScope().getLocation().getFile() instanceof IgnoredFile
2020
select c, "Call to $@", f.getScope(), f.toString()

0 commit comments

Comments
 (0)