mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Fix dependency cycle between util and config-utils
This commit is contained in:
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)) {
|
||||
|
||||
Reference in New Issue
Block a user