blob: 4af9d3301b411a6f06e8c7a83025f16a5e5e9d04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- internal/scan/run.go.orig 2025-05-08 09:21:10 UTC
+++ internal/scan/run.go
@@ -87,7 +87,7 @@ func prepareConfig(ctx context.Context, cfg *config, c
}
}
if cfg.GoVersion == "" {
- if out, err := exec.Command("go", "env", "GOVERSION").Output(); err == nil {
+ if out, err := exec.Command("%%GO_CMD%%", "env", "GOVERSION").Output(); err == nil {
cfg.GoVersion = strings.TrimSpace(string(out))
}
}
|