Test not setting CODEQL_EXTRACTOR_GO_BUILD_TRACING

This commit is contained in:
Angela P Wen
2022-11-07 13:19:03 -08:00
parent 0704246ff3
commit 74a66cd3f4
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -107,9 +107,9 @@ async function run() {
if ("CODEQL_EXTRACTOR_GO_BUILD_TRACING" in process.env) {
logger.warning("Go build tracing is now enabled by default, so the CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable which was previously used to manually enable Go build tracing is now deprecated. We recommend that you remove this environment variable from your workflow.");
}
if (config.languages.includes(languages_1.Language.go)) {
core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
}
// if (config.languages.includes(Language.go)) {
// core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
// }
if (config.languages.includes(languages_1.Language.python) &&
(0, actions_util_1.getRequiredInput)("setup-python-dependencies") === "true") {
try {
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -223,9 +223,9 @@ async function run() {
"Go build tracing is now enabled by default, so the CODEQL_EXTRACTOR_GO_BUILD_TRACING environment variable which was previously used to manually enable Go build tracing is now deprecated. We recommend that you remove this environment variable from your workflow."
);
}
if (config.languages.includes(Language.go)) {
core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
}
// if (config.languages.includes(Language.go)) {
// core.exportVariable("CODEQL_EXTRACTOR_GO_BUILD_TRACING", "on");
// }
if (
config.languages.includes(Language.python) &&