Make name of debugging artifact and DB within it configurable

This commit is contained in:
Edoardo Pirovano 2022-01-07 13:11:51 +00:00
parent 848e5140d4
commit e677af3fd0
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
42 changed files with 244 additions and 83 deletions

3
lib/codeql.js generated
View file

@ -638,12 +638,13 @@ async function getCodeQLForCmd(cmd, checkVersion) {
];
await runTool(cmd, codeqlArgs);
},
async databaseBundle(databasePath, outputFilePath) {
async databaseBundle(databasePath, outputFilePath, databaseName) {
const args = [
"database",
"bundle",
databasePath,
`--output=${outputFilePath}`,
`--name=${databaseName}`,
];
await new toolrunner.ToolRunner(cmd, args).exec();
},