Bump verbosity of database finalize in debug mode
This commit is contained in:
parent
649f3e87e1
commit
070b05147a
9 changed files with 39 additions and 15 deletions
|
|
@ -100,6 +100,7 @@ export interface CodeQL {
|
|||
databasePath: string,
|
||||
threadsFlag: string,
|
||||
memoryFlag: string,
|
||||
enableDebugLogging: boolean,
|
||||
): Promise<void>;
|
||||
/**
|
||||
* Run 'codeql resolve languages'.
|
||||
|
|
@ -715,6 +716,7 @@ export async function getCodeQLForCmd(
|
|||
databasePath: string,
|
||||
threadsFlag: string,
|
||||
memoryFlag: string,
|
||||
enableDebugLogging: boolean,
|
||||
) {
|
||||
const args = [
|
||||
"database",
|
||||
|
|
@ -722,6 +724,9 @@ export async function getCodeQLForCmd(
|
|||
"--finalize-dataset",
|
||||
threadsFlag,
|
||||
memoryFlag,
|
||||
...(enableDebugLogging
|
||||
? [`--verbosity=${EXTRACTION_DEBUG_MODE_VERBOSITY}`]
|
||||
: []),
|
||||
...getExtraOptionsFromEnv(["database", "finalize"]),
|
||||
databasePath,
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue