Merge branch 'main' into nickfyson/error_wrapper
# Conflicts: # lib/codeql.js.map
This commit is contained in:
commit
b104d6e035
45 changed files with 1078 additions and 210 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -346,7 +346,7 @@ function getCodeQLForCmd(cmd) {
|
|||
}).exec();
|
||||
return JSON.parse(output);
|
||||
},
|
||||
databaseAnalyze: async function (databasePath, sarifFile, querySuite, memoryFlag, threadsFlag) {
|
||||
databaseAnalyze: async function (databasePath, sarifFile, querySuite, memoryFlag, addSnippetsFlag, threadsFlag) {
|
||||
await new toolrunnner.ToolRunner(cmd, [
|
||||
'database',
|
||||
'analyze',
|
||||
|
|
@ -355,7 +355,7 @@ function getCodeQLForCmd(cmd) {
|
|||
databasePath,
|
||||
'--format=sarif-latest',
|
||||
'--output=' + sarifFile,
|
||||
'--no-sarif-add-snippets',
|
||||
addSnippetsFlag,
|
||||
...getExtraOptionsFromEnv(['database', 'analyze']),
|
||||
querySuite
|
||||
]).exec();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue