mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Python: Fix filename example
I got my eyes on this one since it was using a deprecated method, BUT it was also doing the thing, since File.getName() is the same as File.getAbsolutePath(), and that doesn't match the description :\
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
import python
|
||||
|
||||
from File f
|
||||
where f.getName() = "spam.py"
|
||||
where f.getShortName() = "spam.py"
|
||||
select f
|
||||
|
||||
Reference in New Issue
Block a user