Skip to content

Commit

Permalink
Test not setting CODEQL_EXTRACTOR_GO_BUILD_TRACING
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Nov 7, 2022
1 parent 0b9ecc9 commit 9150ea9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/init-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 9150ea9

Please sign in to comment.