Skip to content

Commit

Permalink
Update doctor script to ensure developers use Go 1.21 locally
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench committed Mar 12, 2024
1 parent 396b10f commit f022b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/doctor
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ if [ $found -eq 0 ]; then
else
version=($(go version))
version=${version[2]}
if [[ "$version" < "go1.20.0" ]]; then
if [[ "$version" < "go1.21.0" ]]; then
exitcode=1
warn "yel" " $version is installed, but go 1.20 or later is required. See https://golang.org/doc/install for information on installing it."
warn "yel" " $version is installed, but go 1.21 or later is required. See https://golang.org/doc/install for information on installing it."
fi
if [[ -z "${GOPATH}" ]]; then
exitcode=1
Expand Down

0 comments on commit f022b5d

Please sign in to comment.