diff --git a/internal/sbom/sbom.go b/internal/sbom/sbom.go index d1385ef09d..dfb5cb98d1 100644 --- a/internal/sbom/sbom.go +++ b/internal/sbom/sbom.go @@ -49,7 +49,7 @@ func goRef(mod *debug.Module) string { return fmt.Sprintf("pkg:golang/%s@%s?type=module", path, mod.Version) } -// massageGoModVersion massages the output of `go version -m` into a form that +// massageGoVersionM massages the output of `go version -m` into a form that // can be consumed by ParseBuildInfo. // // `go version -m` adds a line at the beginning of its output, and tabs at the