Fix dependency cycle between util and config-utils
This commit is contained in:
parent
d577d6f6b1
commit
004f976bef
21 changed files with 283 additions and 288 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -777,7 +777,7 @@ async function generateCodeScanningConfig(codeql, config, features, logger) {
|
|||
if (config.augmentationProperties.injectedMlQueries) {
|
||||
// We need to inject the ML queries into the original user input before
|
||||
// we pass this on to the CLI, to make sure these get run.
|
||||
const packString = await util.getMlPoweredJsQueriesPack(codeql);
|
||||
const packString = await (0, config_utils_1.getMlPoweredJsQueriesPack)(codeql);
|
||||
if (augmentedConfig.packs === undefined)
|
||||
augmentedConfig.packs = [];
|
||||
if (Array.isArray(augmentedConfig.packs)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue