Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf30f9c

Browse files
author
Max Schaefer
committed
Python: Remove use of deprecated predicate.
1 parent bccdf59 commit bf30f9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python/ql/src/semmle/python/xml

python/ql/src/semmle/python/xml/XML.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class XMLLocatable extends @xmllocatable {
2121
) {
2222
exists(File f, Location l | l = this.getLocation() |
2323
locations_default(l, f, startline, startcolumn, endline, endcolumn) and
24-
filepath = f.getName()
24+
filepath = f.getAbsolutePath()
2525
)
2626
}
2727

0 commit comments

Comments
 (0)