mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
Python: add default implementation of getName() and deprecate it
This commit is contained in:
@@ -259,7 +259,7 @@ predicate file_consistency(string clsname, string problem, string what) {
|
||||
exists(Container f |
|
||||
clsname = f.getAQlClass() and
|
||||
uniqueness_error(count(f.toString()), "toString", problem) and
|
||||
what = "file " + f.getName()
|
||||
what = "file " + f.getAbsolutePath()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user