Skip to content

Commit

Permalink
mising go version in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
octo-node committed Aug 5, 2023
1 parent 4a87d6b commit 935b758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ build-reproducible-generic: go.sum
# Add check to make sure we are using the proper Go version before proceeding with anything
check-go-version:
@if ! go version | grep -q "go$(GO_VERSION)"; then \
echo "\033[0;31mERROR:\033[0m Go version 1.19 is required for compiling chihuahuad. It looks like you are using" "$(shell go version) \nThere are potential consensus-breaking changes that can occur when running binaries compiled with different versions of Go. Please download Go version 1.19 and retry. Thank you!"; \
echo "\033[0;31mERROR:\033[0m Go version $(GO_VERSION) is required for compiling chihuahuad. It looks like you are using" "$(shell go version) \nThere are potential consensus-breaking changes that can occur when running binaries compiled with different versions of Go. Please download Go version $(GO_VERSION) and retry. Thank you!"; \
exit 1; \
fi

0 comments on commit 935b758

Please sign in to comment.