Update make.sh

Co-authored-by: Anmol Sethi <hi@nhooyr.io>
This commit is contained in:
Yehuda Katz 2023-03-03 08:04:47 -08:00 committed by GitHub
parent 4d37629940
commit de52064d9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ fi
PATH="$(cd -- "$(dirname "$0")" && pwd)/ci/sub/bin:$PATH"
cd -- "$(dirname "$0")"
if ! $(go version | grep -qF "1.18."); then
if ! go version | grep -qF '1.18'; then
printferr "You need go 1.18 to build d2.\n"
exit 1
fi