Add computedConfig property to Config type

This commit is contained in:
Michael B. Gale
2025-09-02 12:27:58 +01:00
parent 9f5a64c949
commit c4d2772a75
14 changed files with 982 additions and 1336 deletions
+5
View File
@@ -18,6 +18,7 @@ import {
AugmentationProperties,
Config,
defaultAugmentationProperties,
generateCodeScanningConfig,
} from "./config-utils";
import * as defaults from "./defaults.json";
import { DocUrl } from "./doc-url";
@@ -504,6 +505,10 @@ const injectedConfigMacro = test.macro({
tempDir,
augmentationProperties,
};
thisStubConfig.computedConfig = generateCodeScanningConfig(
thisStubConfig.originalUserInput,
thisStubConfig.augmentationProperties,
);
await codeqlObject.databaseInitCluster(
thisStubConfig,