From 6102eb9149b62893b54f80a4b14c9f1570ceb6a1 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Mon, 1 Jul 2024 13:00:19 -0400 Subject: [PATCH] fix: Disallow Node.js major version >20 --- repoconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repoconfig.sh b/repoconfig.sh index 81c33672d95..8f7c7ca80b8 100644 --- a/repoconfig.sh +++ b/repoconfig.sh @@ -20,7 +20,7 @@ golang_version_check() { nodejs_version_check() { { [ "$1" -eq 18 ] && [ "$2" -ge 12 ] && return 0 - [ "$1" -ge 20 ] && [ "$2" -ge 9 ] && return 0 + [ "$1" -eq 20 ] && [ "$2" -ge 9 ] && return 0 } 2> /dev/null echo 1>&2 "need Node.js LTS version ^18.12 or ^20.9, found $1.$2.$3" return 1