update main.go

This commit is contained in:
风扇滑翔翼 2025-02-25 13:09:44 +00:00 committed by GitHub
parent a3a0b8b165
commit f9db89e0a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,10 +90,10 @@ func whichProtoc(suffix, targetedVersion string) (string, error) {
path, err := exec.LookPath(protoc)
if err != nil {
return "", fmt.Errorf(`
Command "%s" not found.
Make sure that %s is in your system path or current path.
Download %s v%s or later from https://github.com/protocolbuffers/protobuf/releases
`, protoc, protoc, protoc, targetedVersion)
Command "%s" not found.
Make sure that %s is in your system path or current path.
Download %s v%s or later from https://github.com/protocolbuffers/protobuf/releases
`, protoc, protoc, protoc, targetedVersion)
}
return path, nil
}