Skip to content

Commit

Permalink
ignore protobuf warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoretenable committed Sep 9, 2024
1 parent bfce40a commit a099028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
BUILD_FLAGS := -v -ldflags "-w -s -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn"
BUILD_FLAGS := -v -ldflags "-w -s -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=ignore"

BUILD_DIR = ./bin
BINARY_NAME = terrascan
Expand Down Expand Up @@ -86,7 +86,7 @@ staticcheck:

# run unit tests
unit-tests:
GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn ./scripts/generate-coverage.sh
GOLANG_PROTOBUF_REGISTRATION_CONFLICT=ignore ./scripts/generate-coverage.sh

# run e2e tests
e2e-tests: build
Expand Down

0 comments on commit a099028

Please sign in to comment.