Skip to content

Commit 5a02f6c

Browse files
authored
Go binary not found should not be an error (#622)
as it's very likely to be found in a lot of circumstances (e.g. running in CI). See #620 for more context.
1 parent f819495 commit 5a02f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/osvscanner/optional_enricher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func addCompilerVersion(r reporter.Reporter, parsedLockfile *lockfile.Lockfile)
2929
case "go.mod":
3030
goVer, err := getGoVersion()
3131
if err != nil {
32-
r.PrintError(fmt.Sprintf("cannot get go standard library version, go might not be installed: %s\n", err))
32+
r.PrintText(fmt.Sprintf("cannot get go standard library version, go might not be installed: %s\n", err))
3333
} else {
3434
parsedLockfile.Packages = append(parsedLockfile.Packages, lockfile.PackageDetails{
3535
Name: "stdlib",

0 commit comments

Comments
 (0)