fix: remove check for GOPATH

This commit is contained in:
Deluan 2020-01-26 15:32:55 -05:00
parent 8213017f1a
commit cc58642185
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ check_env: check_go_env check_node_env
.PHONY: check_go_env
check_go_env:
@(test -n "${GOPATH}" && hash go) || (echo "\nERROR: GO environment not setup properly!\n"; exit 1)
@(hash go) || (echo "\nERROR: GO environment not setup properly!\n"; exit 1)
@go version | grep -q $(GO_VERSION) || (echo "\nERROR: Please upgrade your GO version\n"; exit 1)
.PHONY: check_node_env