Add the CliConfigFileEnabled feature flag

Also, wire it up to the `useCodeScanningConfigInCli` function.
This commit is contained in:
Andrew Eisenberg 2022-09-26 19:56:42 -07:00
parent 314ede696b
commit e37b0d6470
27 changed files with 236 additions and 40 deletions

View file

@ -1704,7 +1704,7 @@ export async function initConfig(
// When using the codescanning config in the CLI, pack downloads
// happen in the CLI during the `database init` command, so no need
// to download them here.
if (!(await useCodeScanningConfigInCli(codeQL))) {
if (!(await useCodeScanningConfigInCli(codeQL, featureFlags))) {
const registries = parseRegistries(registriesInput);
await downloadPacks(
codeQL,