Revert "Use --codescanning-config flag of CLI"
This reverts commit 0d87b8c615.
This commit is contained in:
parent
6a961c08f2
commit
326e5118c5
6 changed files with 21 additions and 50 deletions
2
lib/init.js
generated
2
lib/init.js
generated
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue