Override CODEQL_EXTRACTOR_GO_BUILD_TRACING with on when it's true

This commit is contained in:
Henry Mercer 2022-08-24 11:34:00 +01:00
parent 3069613ebd
commit e195431677
33 changed files with 162 additions and 95 deletions

2
lib/autobuild.js generated
View file

@ -8,7 +8,7 @@ function determineAutobuildLanguage(config, logger) {
// We want pick the dominant language in the repo from the ones we're able to build
// The languages are sorted in order specified by user or by lines of code if we got
// them from the GitHub API, so try to build the first language on the list.
const autobuildLanguages = config.languages.filter(languages_1.isTracedLanguage);
const autobuildLanguages = config.languages.filter((l) => (0, languages_1.isTracedLanguage)(l, logger));
const language = autobuildLanguages[0];
if (!language) {
logger.info("None of the languages in this project require extra build steps");