Merge pull request #476 from github/henrymercer/log-queries-during-interpretation
Log each query as it's interpreted when calling codeql database analyze
This commit is contained in:
commit
46d0d277ef
3 changed files with 7 additions and 1 deletions
3
lib/codeql.js
generated
3
lib/codeql.js
generated
|
|
@ -439,6 +439,9 @@ function getCodeQLForCmd(cmd) {
|
|||
"--sarif-multicause-markdown",
|
||||
`--output=${sarifFile}`,
|
||||
addSnippetsFlag,
|
||||
// Enable progress verbosity so we log each query as it's interpreted. This aids debugging
|
||||
// when interpretation takes a while for one of the queries being analyzed.
|
||||
"-v",
|
||||
...getExtraOptionsFromEnv(["database", "analyze"]),
|
||||
];
|
||||
if (extraSearchPath !== undefined) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -684,6 +684,9 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
|||
"--sarif-multicause-markdown",
|
||||
`--output=${sarifFile}`,
|
||||
addSnippetsFlag,
|
||||
// Enable progress verbosity so we log each query as it's interpreted. This aids debugging
|
||||
// when interpretation takes a while for one of the queries being analyzed.
|
||||
"-v",
|
||||
...getExtraOptionsFromEnv(["database", "analyze"]),
|
||||
];
|
||||
if (extraSearchPath !== undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue