mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Bump verbosity of database finalize in debug mode
This commit is contained in:
5
lib/codeql.js
generated
5
lib/codeql.js
generated
@@ -383,13 +383,16 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
util.getCodeQLDatabasePath(config, language),
|
||||
]);
|
||||
},
|
||||
async finalizeDatabase(databasePath, threadsFlag, memoryFlag) {
|
||||
async finalizeDatabase(databasePath, threadsFlag, memoryFlag, enableDebugLogging) {
|
||||
const args = [
|
||||
"database",
|
||||
"finalize",
|
||||
"--finalize-dataset",
|
||||
threadsFlag,
|
||||
memoryFlag,
|
||||
...(enableDebugLogging
|
||||
? [`--verbosity=${EXTRACTION_DEBUG_MODE_VERBOSITY}`]
|
||||
: []),
|
||||
...getExtraOptionsFromEnv(["database", "finalize"]),
|
||||
databasePath,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user