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

This reverts commit 0d87b8c615.
This commit is contained in:
Edoardo Pirovano 2022-02-17 13:05:55 +00:00
parent 6a961c08f2
commit 326e5118c5
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
6 changed files with 21 additions and 50 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, sourceRoot, processName, processLevel);
await codeql.databaseInitCluster(config.dbLocation, config.languages, sourceRoot, processName, processLevel);
}
else {
for (const language of config.languages) {