Skip to content

Commit

Permalink
Fix comment in analyse Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael B. Gale committed Oct 4, 2023
1 parent 9a5a628 commit 41a13ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/analyze-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/analyze-action.js.map

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

5 changes: 4 additions & 1 deletion src/analyze-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,10 @@ async function run() {
logger,
);

// Check that the Go wrapper script still exists, if set
// Check that `which go` still points at the wrapper script we installed in the `init` Action,
// if the corresponding environment variable is set. This is to ensure that there isn't a step
// in the workflow after the `init` step which installs a different version of Go and takes
// precedence in the PATH, thus potentially circumventing our workaround that allows tracing to work.
const goWrapperPath = process.env[EnvVar.GO_BINARY_LOCATION];

if (goWrapperPath !== undefined) {
Expand Down

0 comments on commit 41a13ec

Please sign in to comment.