diff --git a/scripts/lint-go-mod-version.sh b/scripts/lint-go-mod-version.sh index 15b23b7..14262f0 100755 --- a/scripts/lint-go-mod-version.sh +++ b/scripts/lint-go-mod-version.sh @@ -29,4 +29,5 @@ if [[ ${GO_MOD_VERSION} != ${GO_MOD_VERSION_EXPECTED} ]]; then echo " Found ${GO_MOD_VERSION}" echo " Expected ${GO_MOD_VERSION_EXPECTED}" fi + exit 1 fi