mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Replace getEncodedFile with shared getFileBySourceArchiveName predicate
While also making it work with paths for databases created on Windows.
This commit is contained in:
@@ -16,5 +16,5 @@ from NiceLocationExpr use, Definition defn, string kind, string f
|
||||
where
|
||||
defn = definitionOf(use, kind) and
|
||||
use.hasLocationInfo(f, _, _, _, _) and
|
||||
getEncodedFile(selectedSourceFile()).getAbsolutePath() = f
|
||||
getFileBySourceArchiveName(selectedSourceFile()).getAbsolutePath() = f
|
||||
select use, defn, kind
|
||||
|
||||
Reference in New Issue
Block a user