Merge pull request #1323 from markshannon/hotfix-path-fix

Python QL: Use Module.getPath() to implement ModuleObject.getPath()
This commit is contained in:
Taus
2019-05-15 11:46:36 +02:00
committed by GitHub

View File

@@ -234,10 +234,7 @@ class PackageObject extends ModuleObject {
}
override Container getPath() {
exists(ModuleObject m |
m.getPackage() = this |
result = m.getPath().getParent()
)
result = this.getModule().getPath()
}
ModuleObject submodule(string name) {