mirror of
https://github.com/github/codeql-action.git
synced 2025-12-28 10:10:17 +08:00
Bump verbosity of database finalize in debug mode
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user