blob: c1bbfd93f555139e6655b0b60e0261d0a220f8c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- internal/sourceanalysis/go.go.orig 1979-11-29 23:00:00 UTC
+++ internal/sourceanalysis/go.go
@@ -18,7 +18,7 @@ func goAnalysis(r reporter.Reporter, pkgs []models.Pac
)
func goAnalysis(r reporter.Reporter, pkgs []models.PackageVulns, source models.SourceInfo) {
- cmd := exec.Command("go", "version")
+ cmd := exec.Command("go%%GO_SUFFIX%%", "version")
_, err := cmd.Output()
if err != nil {
r.Infof("Skipping call analysis on Go code since Go is not installed.\n")
|