mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
QL: find dbscheme files that are contained within a subfolder
This commit is contained in:
@@ -2415,8 +2415,8 @@ module YAML {
|
||||
|
||||
/** Gets the database scheme of this qlpack */
|
||||
File getDBScheme() {
|
||||
result.getBaseName() = this.getProperty("dbscheme") and
|
||||
result = file.getParentContainer().getFile(any(string s | s.matches("%.dbscheme")))
|
||||
result.getAbsolutePath() =
|
||||
file.getParentContainer().getAbsolutePath() + "/" + this.getProperty("dbscheme")
|
||||
}
|
||||
|
||||
pragma[noinline]
|
||||
|
||||
Reference in New Issue
Block a user