Break out tracer-config.ts

This commit is contained in:
Robert Brignull 2020-08-24 12:53:09 +01:00
parent bd54c20d3e
commit 407ef0ac11
26 changed files with 953 additions and 489 deletions

7
lib/util.js generated
View file

@ -378,4 +378,11 @@ function getCodeQLDatabasesDir(tempDir) {
return path.resolve(tempDir, 'codeql_databases');
}
exports.getCodeQLDatabasesDir = getCodeQLDatabasesDir;
/**
* Get the path where the CodeQL database for the given language lives.
*/
function getCodeQLDatabasePath(tempDir, language) {
return path.resolve(getCodeQLDatabasesDir(tempDir), language);
}
exports.getCodeQLDatabasePath = getCodeQLDatabasePath;
//# sourceMappingURL=util.js.map