mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 21:20:09 +08:00
Suppress Go workaround warning if autobuilder ran
This commit is contained in:
@@ -239,7 +239,10 @@ async function run() {
|
||||
// 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) {
|
||||
if (
|
||||
process.env[EnvVar.DID_AUTOBUILD_GOLANG] !== "true" &&
|
||||
goWrapperPath !== undefined
|
||||
) {
|
||||
const goBinaryPath = await safeWhich("go");
|
||||
|
||||
if (goWrapperPath !== goBinaryPath) {
|
||||
|
||||
Reference in New Issue
Block a user