Add external git repositories to search path for custom queries
This commit is contained in:
parent
1fa35632f2
commit
578f9fc99e
15 changed files with 244 additions and 100 deletions
5
lib/config-utils.js
generated
5
lib/config-utils.js
generated
|
|
@ -78,7 +78,10 @@ async function runResolveQueries(codeQL, resultMap, toResolve, extraSearchPath)
|
|||
}
|
||||
const queries = Object.keys(queryPaths).filter((q) => !queryIsDisabled(language, q));
|
||||
if (extraSearchPath !== undefined) {
|
||||
resultMap[language].custom.push(...queries);
|
||||
resultMap[language].custom.push({
|
||||
searchPath: extraSearchPath,
|
||||
queries,
|
||||
});
|
||||
}
|
||||
else {
|
||||
resultMap[language].builtin.push(...queries);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue