mirror of
https://github.com/github/codeql-action
synced 2026-12-04 13:59:31 +08:00
Merge branch 'main' into nickfyson/error_wrapper
# Conflicts: # lib/codeql.js.map
This commit is contained in:
commit
b104d6e035
45 files changed
+1078
-210
No files matched your search
Generated
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user