Revert "Revert "Use --codescanning-config flag of CLI""

This reverts commit 326e5118c5.
This commit is contained in:
Edoardo Pirovano 2022-03-01 14:33:00 +00:00
parent fa19286989
commit 07990f07e5
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
6 changed files with 50 additions and 21 deletions

2
lib/init.js generated
View file

@ -52,7 +52,7 @@ async function runInit(codeql, config, sourceRoot, processName, processLevel) {
try {
if (await (0, util_1.codeQlVersionAbove)(codeql, codeql_1.CODEQL_VERSION_NEW_TRACING)) {
// Init a database cluster
await codeql.databaseInitCluster(config.dbLocation, config.languages, sourceRoot, processName, processLevel);
await codeql.databaseInitCluster(config, sourceRoot, processName, processLevel);
}
else {
for (const language of config.languages) {