mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Python: Update test
This commit is contained in:
@@ -65,7 +65,7 @@ string getCallEdgeValue(CallNode call, Function target) {
|
||||
else
|
||||
exists(string fixedRelativePath |
|
||||
fixedRelativePath =
|
||||
target.getLocation().getFile().getRelativePath().regexpCapture(".*/CallGraph[^/]*/(.*)", 1)
|
||||
target.getLocation().getFile().getAbsolutePath().regexpCapture(".*/CallGraph[^/]*/(.*)", 1)
|
||||
|
|
||||
// the value needs to be enclosed in quotes to allow special characters
|
||||
result = "\"" + fixedRelativePath + ":" + betterQualName(target) + "\""
|
||||
|
||||
Reference in New Issue
Block a user