Skip to content

Commit f19a229

Browse files
committed
find dbscheme files that are contained within a subfolder
1 parent 3b1c04b commit f19a229

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ql/src/codeql_ql/ast/Ast.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,8 +2415,8 @@ module YAML {
24152415

24162416
/** Gets the database scheme of this qlpack */
24172417
File getDBScheme() {
2418-
result.getBaseName() = this.getProperty("dbscheme") and
2419-
result = file.getParentContainer().getFile(any(string s | s.matches("%.dbscheme")))
2418+
result.getAbsolutePath() =
2419+
file.getParentContainer().getAbsolutePath() + "/" + this.getProperty("dbscheme")
24202420
}
24212421

24222422
pragma[noinline]

0 commit comments

Comments
 (0)