Merge pull request #231 from github/add-multi-cause-markdown-flag

Enable the CodeQL SARIF multi-cause markdown flag.
This commit is contained in:
Chris Gavin 2020-11-18 08:39:30 +00:00 committed by GitHub
commit 10b43b815a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

1
lib/codeql.js generated
View file

@ -406,6 +406,7 @@ function getCodeQLForCmd(cmd) {
databasePath,
"--min-disk-free=1024",
"--format=sarif-latest",
"--sarif-multicause-markdown",
`--output=${sarifFile}`,
addSnippetsFlag,
...getExtraOptionsFromEnv(["database", "analyze"]),

File diff suppressed because one or more lines are too long

View file

@ -624,6 +624,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
databasePath,
"--min-disk-free=1024", // Try to leave at least 1GB free
"--format=sarif-latest",
"--sarif-multicause-markdown",
`--output=${sarifFile}`,
addSnippetsFlag,
...getExtraOptionsFromEnv(["database", "analyze"]),