From c5bbc4bd41fe263125aa5b5d2df11e33fdc00a1c Mon Sep 17 00:00:00 2001 From: paulwe Date: Tue, 3 Oct 2023 04:08:02 -0700 Subject: [PATCH] fix --- psrpc/compilercheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psrpc/compilercheck.go b/psrpc/compilercheck.go index af189de2..c2f64c0d 100644 --- a/psrpc/compilercheck.go +++ b/psrpc/compilercheck.go @@ -29,7 +29,7 @@ func CheckCompilerVersion(path string) error { } b = bytes.Trim(b, "\r\n") - if string(b) != version.Version || true { + if string(b) != version.Version { return fmt.Errorf("found psrpc compiler version %s need %s. please run:\ngo install github.com/livekit/psrpc/protoc-gen-psrpc", string(b), version.Version) } return nil